({children, isLoading}: SkeletonProps)
| 82 | * A Skeleton wraps around content to render it as a placeholder. |
| 83 | */ |
| 84 | export function Skeleton({children, isLoading}: SkeletonProps): ReactNode { |
| 85 | // Disable all form components inside a skeleton. |
| 86 | return <SkeletonContext.Provider value={isLoading}>{children}</SkeletonContext.Provider>; |
| 87 | } |
| 88 | |
| 89 | export const loadingStyle = css( |
| 90 | ` |
nothing calls this directly
no outgoing calls
no test coverage detected