import clsx from "clsx"; import type { ComponentProps, CSSProperties } from "react"; import styles from "./index.module.scss"; type Props = Omit, "children"> & { width?: number | undefined; label?: string | undefined; fill?: boolean | undefined; }; export const Skeleton = ({ className, label, width, fill, ...props }: Props) => fill ? ( ) : ( ); const Label = ({ children }: { children: string | undefined }) => ( {children ?? "Loading"} );