index.d.ts 614 B

12345678910111213
  1. import Dragger from './Dragger';
  2. import type { UploadProps } from './Upload';
  3. import InternalUpload from './Upload';
  4. export type { DraggerProps } from './Dragger';
  5. export type { RcFile, UploadChangeParam, UploadFile, UploadListProps, UploadProps, } from './interface';
  6. type InternalUploadType = typeof InternalUpload;
  7. type 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. };
  12. declare const Upload: CompoundedComponent;
  13. export default Upload;