diff --git a/app/components/file-card.tsx b/app/components/file-card.tsx
index 263edf6..7e6717e 100644
--- a/app/components/file-card.tsx
+++ b/app/components/file-card.tsx
@@ -1,3 +1,5 @@
+import { FolderIcon, MoreIcon, RecentIcon } from "./icons";
+
export enum FileTypes {
Folder = "FOLDER",
Document = "DOCUMENT",
@@ -33,76 +35,3 @@ export const FileCard = ({ type, fileName, createdAt, size }: FileCardProps) =>
);
};
-
-const FolderIcon = ({ className }: { className?: string }) => {
- return (
-
- );
-};
-
-const MoreIcon = ({ className }: { className?: string }) => {
- return (
-
- );
-};
-
-const RecentIcon = ({ className }: { className?: string }) => {
- return (
-
- );
-};
diff --git a/app/components/icons.tsx b/app/components/icons.tsx
index 64dd2af..d2a51e8 100644
--- a/app/components/icons.tsx
+++ b/app/components/icons.tsx
@@ -542,3 +542,50 @@ export const ChevronDownIcon = ({ className }: { className?: string }) => {
);
};
+
+export const FolderIcon = ({ className }: { className?: string }) => {
+ return (
+
+ );
+};
+
+export const RecentIcon = ({ className }: { className?: string }) => {
+ return (
+
+ );
+};
\ No newline at end of file
diff --git a/app/components/ui/input.tsx b/app/components/ui/input.tsx
index 8ea96d2..0bcde50 100644
--- a/app/components/ui/input.tsx
+++ b/app/components/ui/input.tsx
@@ -5,7 +5,7 @@ import { EyeOpenIcon, EyeNoneIcon } from "@radix-ui/react-icons"
export interface InputProps
extends React.InputHTMLAttributes {
- fullWidth: boolean,
+ fullWidth?: boolean,
leftIcon?: React.ReactNode
}