File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
# attr-accept
2
- JavaScript implementation of the "accept" attribute for HTML5 ` <input type="file"> `
2
+ > JavaScript implementation of the "accept" attribute for HTML5 ` <input type="file"> `
3
3
4
- ![ ] ( https://github.com/react-dropzone/attr-accept/workflows/Test/badge.svg )
5
- [ ![ npm version] ( https://badge.fury.io/js/attr-accept.svg )] ( https://badge.fury.io/js/attr-accept )
6
- [ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
4
+ [ ![ npm] ( https://img.shields.io/npm/v/attr-accept.svg?style=flat-square )] ( https://www.npmjs.com/package/attr-accept )
5
+ ![ Tests] ( https://img.shields.io/github/actions/workflow/status/react-dropzone/attr-accept/test.yml?branch=master&style=flat-square&label=tests )
7
6
8
7
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#attr-accept for more information.
9
8
10
- Installation
11
- =====
9
+ ## Installation
12
10
``` sh
13
11
npm install --save attr-accept
14
12
```
15
13
16
- Usage
17
- =====
14
+ ## Usage
18
15
``` javascript
19
16
var accept = require (' attr-accept' );
20
17
accept ({
You can’t perform that action at this time.
0 commit comments