export enum FileTypes { Folder = "FOLDER", Document = "DOCUMENT", Image = "IMAGE", } interface FileCardProps { type: FileTypes; fileName: string; createdAt: string; size: string; } export const FileCardList = ({ children }: React.PropsWithChildren<{}>) => { return
{children}
; }; export const FileCard = ({ type, fileName, createdAt, size }: FileCardProps) => { return (
{fileName}
{size}
{createdAt}
); }; const FolderIcon = ({ className }: { className?: string }) => { return ( ); }; const MoreIcon = ({ className }: { className?: string }) => { return ( ); }; const RecentIcon = ({ className }: { className?: string }) => { return ( ); };