MCPcopy
hub / github.com/dvtng/react-loading-skeleton / SkeletonTheme

Function SkeletonTheme

src/SkeletonTheme.tsx:7–16  ·  view source on GitHub ↗
({
  children,
  ...styleOptions
}: SkeletonThemeProps)

Source from the content-addressed store, hash-verified

5export type SkeletonThemeProps = PropsWithChildren<SkeletonStyleProps>;
6
7export function SkeletonTheme({
8 children,
9 ...styleOptions
10}: SkeletonThemeProps): ReactElement {
11 return (
12 <SkeletonThemeContext.Provider value={styleOptions}>
13 {children}
14 </SkeletonThemeContext.Provider>
15 );
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…