import { CurrentUserFile } from '../../types/file.ts' import styles from './style.module.scss' import { Button } from '@mui/material' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faCheck } from '@fortawesome/free-solid-svg-icons' interface FileListProps { files: CurrentUserFile[] currentFile: CurrentUserFile setCurrentFile: (file: CurrentUserFile) => void handleDownload: () => void downloadLabel?: string } const FileList = ({ files, currentFile, setCurrentFile, handleDownload, downloadLabel }: FileListProps) => { const isActive = (file: CurrentUserFile) => file.id === currentFile.id return (
) } export default FileList