import React from "react"; type Props = { children: React.ReactNode; className?: string; }; const Loader = ({ children, className = "" }: Props) => { return (
{children}
); }; type ItemProps = { height?: string; width?: string; light?: boolean; }; const Item: React.FC = ({ height = "auto", width = "auto", light }) => { return (
); }; Loader.Item = Item; export default Loader;