({
className,
invertColor,
innerClassName,
...props
}: LoaderProps)
| 9 | } |
| 10 | |
| 11 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected