Christophe Hurpeau
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
components/upload/interface.tsx
|
|
@ -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; |
|
|
|