diff --git a/app/components/file-card.tsx b/app/components/file-card.tsx new file mode 100644 index 0000000..263edf6 --- /dev/null +++ b/app/components/file-card.tsx @@ -0,0 +1,108 @@ +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 ( + + + + + + + + + + + + ); +};