UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

15 lines (14 loc) 640 B
/// <reference types="react" /> import Dragger from './Dragger'; import type { UploadProps } from './Upload'; import InternalUpload from './Upload'; export { DraggerProps } from './Dragger'; export { RcFile, UploadChangeParam, UploadFile, UploadListProps, UploadProps } from './interface'; type InternalUploadType = typeof InternalUpload; interface UploadInterface<T = any> extends InternalUploadType { <U extends T>(props: React.PropsWithChildren<UploadProps<U>> & React.RefAttributes<any>): React.ReactElement; Dragger: typeof Dragger; LIST_IGNORE: string; } declare const Upload: UploadInterface<any>; export default Upload;