@amsterdam/bmi-component-library
Version:
A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects
18 lines • 618 B
TypeScript
import type { FC } from 'react';
import type { CustomFile, CustomFileOrRejection, Files } from '../hooks';
export type FileListProps = {
files: Files;
removeLabel: string;
cancelLabel: string;
onFileRemove: (file: CustomFileOrRejection) => void;
onCancel: (file: CustomFileOrRejection) => void;
fileUploadErrorLabel: string;
fileUploadInProgressLabel?: string;
isUploading?: boolean;
progress?: number;
title?: string;
onFileNameClick?: (file: CustomFile) => void;
};
declare const FileList: FC<FileListProps>;
export default FileList;
//# sourceMappingURL=FileList.d.ts.map