Skip to content

Commit

Permalink
feat(Upload): add progress props
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Jan 16, 2019
1 parent 432ef76 commit f2d460c
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 60 deletions.
3 changes: 2 additions & 1 deletion docs/upload/index.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ When user want to upload some file to server side or cloud storage, upload compo
| autoUpload | auto upload after select file | Boolean | true |
| afterSelect | callback after select file, afterSelect only works when autoUpload=false; when autoUpload=true, use beforeUpload to replace it<br><br>**signaure**:<br>Function(file: Object) => Boolean<br>**params**:<br>_file_: {Object} null<br>**return**:<br>{Boolean} return false will prevent upload file<br> return false will prevent upload<br> | Function | func.noop |
| request | custom reuqest method <br><br>**signaure**:<br>Function(option: Object) => Object<br>**params**:<br>_option_: {Object} null<br>**returns**:<br>{Object} object with abort method<br> | Function | - |

| progressProps | Progress props | Object | - |
|
### Upload.Card

> Inherit from Upload API
Expand Down
Loading

0 comments on commit f2d460c

Please sign in to comment.