Skip to content

Commit 1606796

Browse files
committed
docs: Clarify directory upload option in README.md to include 'nonClick' support
1 parent 0363eba commit 1606796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ React.render(<Upload />, container);
7070
|component | "div"|"span" | "span"| wrap component name |
7171
|action| string &#124; function(file): string &#124; Promise&lt;string&gt; | | form action url |
7272
|method | string | post | request method |
73-
|directory| boolean | false | support upload whole directory |
73+
|directory| boolean \| 'nonClick' | false | support upload whole directory, 'nonClick' means unSupport click to upload directory |
7474
|data| object/function(file) | | other data object to post or a function which returns a data object(a promise object which resolve a data object) |
7575
|headers| object | {} | http headers to post, available in modern browsers |
7676
|accept | string | | input accept attribute |

0 commit comments

Comments
 (0)