File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ React.render(<Upload />, container);
5757### props
5858
5959| name | type | default | description |
60- | --- | --- | --- | --- | --- |
60+ | --- | --- | --- | --- |
6161| name | string | file | file param post to server |
6262| style | object | {} | root component inline style |
6363| className | string | - | root component className |
6464| disabled | boolean | false | whether disabled |
65- | component | "div" | "span" | "span" | wrap component name |
65+ | component | "div" \ | "span" | "span" | wrap component name |
6666| action | string | ; function(file): string | ; Promise< ; string> ; | | form action url |
6767| method | string | post | request method |
6868| directory | boolean | false | support upload whole directory |
You can’t perform that action at this time.
0 commit comments