This repository was archived by the owner on Oct 8, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff 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 `
Original file line number Diff line number Diff line change 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" ,
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" ,
4140 }
4241 },
4342 "dependencies" : {
44- "uuid4" : " ^1.0.0"
43+ "uuid4" : " ^1.0.0" ,
44+ "prop-types" : " ^15.5.4"
4545 }
4646}
You can’t perform that action at this time.
0 commit comments