From 2f61f1545d62217b92a7b8156c3d6b8d09982594 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:49 +0530 Subject: [PATCH] feat: add selected file row --- app/components/assets/form/selected-file.tsx | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/components/assets/form/selected-file.tsx diff --git a/app/components/assets/form/selected-file.tsx b/app/components/assets/form/selected-file.tsx new file mode 100644 index 0000000..1574699 --- /dev/null +++ b/app/components/assets/form/selected-file.tsx @@ -0,0 +1,31 @@ +import { FileBox, X } from 'lucide-react'; +import { Button } from '~/components/ui/button'; +import { IconTile } from '~/components/ui/icon-tile'; +import { TextPair } from '~/components/ui/text-pair'; + +interface SelectedFileProps { + name: string; + meta: string; + onRemove: () => void; +} + +export function SelectedFile({ name, meta, onRemove }: SelectedFileProps) { + return ( +
+ + + +
+ ); +}