react-mui-fileuploader
Version:
🗃️ React mui fileuploader is a react component based on @mui v5 that allows you to upload files with an awesome ui component
15 lines (14 loc) • 547 B
TypeScript
/// <reference types="react" />
import PropTypes from 'prop-types';
import { FileAttachmentProps } from "./index.types";
declare function FileAttachment(props: FileAttachmentProps): JSX.Element;
declare namespace FileAttachment {
var propTypes: {
size: PropTypes.Requireable<string>;
file: PropTypes.Requireable<object>;
disabled: PropTypes.Requireable<boolean>;
index: PropTypes.Validator<number>;
handleRemoveFile: PropTypes.Validator<(...args: any[]) => any>;
};
}
export default FileAttachment;