antd
Version:
An enterprise-class UI design language and React components implementation
15 lines (14 loc) • 745 B
TypeScript
import Dragger from './Dragger';
import type { UploadProps, UploadRef } from './Upload';
import InternalUpload from './Upload';
export type { DraggerProps } from './Dragger';
export type { RcFile, UploadChangeParam, UploadFile, UploadListProps, UploadProps, UploadSemanticClassNames, UploadSemanticName, UploadSemanticStyles, } from './interface';
export type { UploadRef } from './Upload';
type InternalUploadType = typeof InternalUpload;
type CompoundedComponent<T = any> = InternalUploadType & {
<U extends T>(props: React.PropsWithChildren<UploadProps<U>> & React.RefAttributes<UploadRef<U>>): React.ReactElement;
Dragger: typeof Dragger;
LIST_IGNORE: string;
};
declare const Upload: CompoundedComponent;
export default Upload;