import clsx from "clsx"; import { Children } from "react"; import styles from "./skeleton.module.css"; interface Props { width?: React.CSSProperties["width"]; height?: number; boxHeight?: number; rounded?: boolean; squared?: boolean; style?: any; className?: string; autoSize?: boolean; vcenter?: boolean; show?: boolean; } const isChildNull = (children) => { return !Children.count(children); }; const Skeleton: React.FC> = ({ children, width = 24, height = 24, boxHeight, vcenter, show, ...props }) => { return ( {children} ); }; export default Skeleton;