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
813 B
19 lines
813 B
import React from 'react';
|
|
import { DraggerProps, UploadProps } from 'antd/lib/upload';
|
|
import { ProFormItemProps } from '../../interface';
|
|
export declare type ProFormDraggerProps = ProFormItemProps<DraggerProps> & {
|
|
icon?: React.ReactNode;
|
|
title?: React.ReactNode;
|
|
action?: UploadProps['action'];
|
|
accept?: UploadProps['accept'];
|
|
description?: React.ReactNode;
|
|
};
|
|
declare const _default: React.ComponentType<ProFormItemProps<DraggerProps> & {
|
|
icon?: React.ReactNode;
|
|
title?: React.ReactNode;
|
|
action?: string | ((file: import("antd/lib/upload").RcFile) => string) | ((file: import("antd/lib/upload").RcFile) => PromiseLike<string>) | undefined;
|
|
accept?: string | undefined;
|
|
description?: React.ReactNode;
|
|
} & import("../../BaseForm").ExtendsProps>;
|
|
export default _default;
|