import { FolderIcon, MoreIcon, RecentIcon } from "./icons"; 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}
); };