import { jsx as _jsx } from "react/jsx-runtime";
import { FileUploaderFile, } from '../../FileUploaderFile';
import { Wrapper } from './styles';
export const FileList = ({ isMultiple, files, className, deletingFileId, ...restProps }) => (_jsx(Wrapper, { "$isMultiple": isMultiple, className: className, children: files?.map((file) => (_jsx("li", { children: _jsx(FileUploaderFile, { ...file, ...restProps, isDeletingFile: deletingFileId === file.id }) }, file.id))) }));
