Skip to content

Commit 60bd5c5

Browse files
author
刘欢
committed
docs: format
1 parent c0cf1a6 commit 60bd5c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 &#124; function(file): string &#124; Promise&lt;string&gt; | | form action url |
6767
| method | string | post | request method |
6868
| directory | boolean | false | support upload whole directory |

0 commit comments

Comments
 (0)