UNPKG

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