"use client"; import { Button } from "@/components/ui/button"; import { CloudFile } from "./types"; import { FileItem } from "./file-item"; interface FileListProps { provider: string; files: CloudFile[]; onClearAll: () => void; onRemoveFile: (fileId: string) => void; shouldDisableActions: boolean; } export const FileList = ({ provider, files, onClearAll, onRemoveFile, shouldDisableActions, }: FileListProps) => { if (files.length === 0) { return null; } return (

Selected items ({files.length})

{files.map((file) => ( ))}
); };