Skip to content
This repository was archived by the owner on Oct 8, 2018. It is now read-only.

Commit 9728261

Browse files
author
Travis Mathis
committed
fixes bug with prop-types
1 parent 9e3ebd9 commit 9728261

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ npm install react-file-reader --save
1313
```
1414

1515
## ChangeLog
16+
- 1.0.2
17+
- fixed an issue w/ prop-types not being available
1618
- 1.0.1
1719
- fixed issue w/ uuid4 being a devDependency
1820
- 1.0.0
@@ -33,7 +35,7 @@ npm install react-file-reader --save
3335
### Optional Props
3436
- elementId
3537
- set a `unique` element Id for the input element
36-
- if this is not set, a random UUID is generated for each element on the page.
38+
- if this is not set, a random UUID is generated for each input on the page.
3739
- base64
3840
- a `boolean` to convert and return the files as a base64 `string`
3941
- multipleFile selection will return an `array` of base64 `strings`

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-file-reader",
3-
"version": "1.0.1",
4-
"description": "React component for handling file uploads with a customizable input",
3+
"version": "1.0.2",
4+
"description": "A flexible ReactJS component for handling styled HTML file inputs.",
55
"main": "index.js",
66
"repository": "[email protected]:GrillWork/react-file-reader.git",
77
"author": "Grillwork Inc",
@@ -21,8 +21,7 @@
2121
"jest": "^19.0.2",
2222
"react": "15.4.2",
2323
"react-addons-test-utils": "15.4.2",
24-
"react-dom": "15.4.2",
25-
"prop-types": "^15.5.4"
24+
"react-dom": "15.4.2"
2625
},
2726
"scripts": {
2827
"build": "./node_modules/.bin/babel ReactFileReader.js -o index.js",
@@ -41,6 +40,7 @@
4140
}
4241
},
4342
"dependencies": {
44-
"uuid4": "^1.0.0"
43+
"uuid4": "^1.0.0",
44+
"prop-types": "^15.5.4"
4545
}
4646
}

0 commit comments

Comments
 (0)