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

Commit

Permalink
fixes bug with prop-types
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Mathis committed Apr 13, 2017
1 parent 9e3ebd9 commit 9728261
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ npm install react-file-reader --save
```

## ChangeLog
- 1.0.2
- fixed an issue w/ prop-types not being available
- 1.0.1
- fixed issue w/ uuid4 being a devDependency
- 1.0.0
Expand All @@ -33,7 +35,7 @@ npm install react-file-reader --save
### Optional Props
- elementId
- set a `unique` element Id for the input element
- if this is not set, a random UUID is generated for each element on the page.
- if this is not set, a random UUID is generated for each input on the page.
- base64
- a `boolean` to convert and return the files as a base64 `string`
- multipleFile selection will return an `array` of base64 `strings`
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-file-reader",
"version": "1.0.1",
"description": "React component for handling file uploads with a customizable input",
"version": "1.0.2",
"description": "A flexible ReactJS component for handling styled HTML file inputs.",
"main": "index.js",
"repository": "git@github.com:GrillWork/react-file-reader.git",
"author": "Grillwork Inc",
Expand All @@ -21,8 +21,7 @@
"jest": "^19.0.2",
"react": "15.4.2",
"react-addons-test-utils": "15.4.2",
"react-dom": "15.4.2",
"prop-types": "^15.5.4"
"react-dom": "15.4.2"
},
"scripts": {
"build": "./node_modules/.bin/babel ReactFileReader.js -o index.js",
Expand All @@ -41,6 +40,7 @@
}
},
"dependencies": {
"uuid4": "^1.0.0"
"uuid4": "^1.0.0",
"prop-types": "^15.5.4"
}
}

0 comments on commit 9728261

Please sign in to comment.