import "./Skeleton.css"; const toCSS = (value: string | number) => typeof value === "number" ? `${value}px` : value; interface SkeletonLineProps { width?: string | number; height?: string | number; borderRadius?: string; } const SkeletonLine = ({ width, height, borderRadius }: SkeletonLineProps) => (