Skip to content

Commit

Permalink
Updated README and latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
asabhaney committed Apr 4, 2018
1 parent b9fbe99 commit 0213d1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var FilesDemo = React.createClass({
className='files-dropzone'
onChange={this.onFilesChange}
onError={this.onFilesError}
accepts={['image/png', 'text/plain', 'audio/*']}
accepts={['image/png', '.pdf', 'audio/*']}
multiple
maxFiles={3}
maxFileSize={10000000}
Expand Down Expand Up @@ -108,13 +108,13 @@ Error codes are:

`accepts` - *Array* of *String*

Control what types of generic/specific MIME types, can be dropped/added.
Control what types of generic/specific MIME types or file extensions can be dropped/added.

> See full list of MIME types here: http://www.iana.org/assignments/media-types/media-types.xhtml
Example:
```js
accepts={['image/*', 'video/mp4', 'audio/*']}
accepts={['image/*', 'video/mp4', 'audio/*', '.pdf']}
```

---
Expand Down
Loading

0 comments on commit 0213d1d

Please sign in to comment.