MCPcopy Create free account
hub / github.com/dailydotdev/apps / Loader

Function Loader

packages/shared/src/components/Loader.tsx:11–36  ·  view source on GitHub ↗
({
  className,
  invertColor,
  innerClassName,
  ...props
}: LoaderProps)

Source from the content-addressed store, hash-verified

9}
10
11export function Loader({
12 className,
13 invertColor,
14 innerClassName,
15 ...props
16}: LoaderProps): ReactElement {
17 return (
18 <div
19 {...props}
20 className={classNames(
21 'h-5 w-5',
22 className,
23 styles.loader,
24 invertColor && 'invert',
25 )}
26 >
27 <span
28 className={classNames(
29 styles.inner,
30 invertColor && styles.invert,
31 innerClassName,
32 )}
33 />
34 </div>
35 );
36}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected