amis-rpc-design/node_modules/antd/es/upload/index.d.ts
2023-10-07 19:42:30 +08:00

15 lines
651 B
TypeScript

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