mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
parent
8a91c94c4c
commit
acaae5c850
@ -58,7 +58,7 @@ export interface UploadProps {
|
||||
name?: string;
|
||||
defaultFileList?: Array<UploadFile>;
|
||||
fileList?: Array<UploadFile>;
|
||||
action?: string | ((file: UploadFile) => PromiseLike<any>);
|
||||
action?: string | ((file: UploadFile) => string) | ((file: UploadFile) => PromiseLike<string>);
|
||||
directory?: boolean;
|
||||
data?: Object | ((file: UploadFile) => any);
|
||||
headers?: HttpRequestHeader;
|
||||
|
Loading…
Reference in New Issue
Block a user