You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
836 B

import React from 'react';
import { UploadProps } from 'antd/lib/upload';
import { ProFormItemProps } from '../../interface';
export declare type ProFormDraggerProps = ProFormItemProps<UploadProps> & {
icon?: React.ReactNode;
title?: React.ReactNode;
listType?: UploadProps['listType'];
action?: UploadProps['action'];
accept?: UploadProps['accept'];
};
declare const _default: React.ComponentType<ProFormItemProps<UploadProps<any>> & {
icon?: React.ReactNode;
title?: React.ReactNode;
listType?: "picture" | "text" | "picture-card" | undefined;
action?: string | ((file: import("antd/lib/upload").RcFile) => string) | ((file: import("antd/lib/upload").RcFile) => PromiseLike<string>) | undefined;
accept?: string | undefined;
} & import("../../BaseForm").ExtendsProps>;
export default _default;