Skip to content

Commit 1ea5cd3

Browse files
authored
update doc for new prop (#6)
1 parent a8e39a3 commit 1ea5cd3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Find it at [npm](https://www.npmjs.com/package/vue3-simple-dropzone)
88
<a href="https://www.npmjs.com/package/vue3-simple-dropzone"><img src="https://img.shields.io/npm/v/vue3-simple-dropzone.svg?style=flat-square" alt="Version"></a>
99

1010
#### [Demo](https://dpmaker.vercel.app)
11+
1112
Get source of the demo at https://github.com/fmabid/dpmaker
1213

1314
## Installation
@@ -51,9 +52,10 @@ function handler(event) {
5152

5253
## Options:
5354

54-
| Prop | Type | Description |
55-
| ----------- | -------- | ------------------------------------------------------------- |
56-
| `className` | `string` | This is optional. To change style pass class names as string. |
55+
| Prop | Type | Description |
56+
| ----------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57+
| `className` | `string` | This is optional. To change style pass class names as string. |
58+
| `accept` | `string` | This is optional. Pass the file types(`audio/*`, `video/*`, `image/*`, file_extension `(e.g: .gif, .jpg, .png, .doc)`) that you want to pick from the file input dialog box. |
5759

5860
## Events:
5961

0 commit comments

Comments
 (0)