import { Checkbox, FormControl, FormControlLabel, MenuItem, Select, TextField, } from '@mui/material'; import { TEXT } from '../../lib/consts/DEFAULT_THEME'; import { UPLOAD_FILE_TYPES_ARRAY } from '../../lib/consts/UPLOAD_FILE_TYPES'; const FileInfo = ({ fileName, fileType, fileSyncAnvils, onChange, }: FileInfoProps): JSX.Element => { return ( onChange?.call(null, { fileName: value }) } sx={{ color: TEXT }} /> {fileSyncAnvils.map( ({ anvilName, anvilDescription, anvilUUID, isSync }) => { return ( } key={anvilUUID} label={`${anvilName}: ${anvilDescription}`} value={`${anvilUUID}-sync`} /> ); }, )} ); }; export default FileInfo;