UNPKG

614 BTypeScriptView Raw
1import Dragger from './Dragger';
2import type { UploadProps } from './Upload';
3import InternalUpload from './Upload';
4export type { DraggerProps } from './Dragger';
5export type { RcFile, UploadChangeParam, UploadFile, UploadListProps, UploadProps, } from './interface';
6type InternalUploadType = typeof InternalUpload;
7type CompoundedComponent<T = any> = InternalUploadType & {
8 <U extends T>(props: React.PropsWithChildren<UploadProps<U>> & React.RefAttributes<any>): React.ReactElement;
9 Dragger: typeof Dragger;
10 LIST_IGNORE: string;
11};
12declare const Upload: CompoundedComponent;
13export default Upload;