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 +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ npm install react-file-reader --save
2020- a child element/component
2121 - pass in your customized button to represent your upload input
2222- handleFiles
23- - a function to handle the selected files from the HTML input.
23+ - a function to handle the selected files from the HTML input
2424
2525### Optional Props
2626- base64
27- - a ` boolean ` to convert and return the files as a base64 string
28- - multipleFile selection will return an ` array ` of ` base64 ` strings
27+ - a ` boolean ` to convert and return the files as a base64 ` string `
28+ - multipleFile selection will return an ` array ` of base64 ` strings `
2929- multipleFiles
3030 - a ` boolean ` enforce single file or multiple file selection
3131- fileTypes
Original file line number Diff line number Diff line change 2222 "react" : " 15.4.2" ,
2323 "react-addons-test-utils" : " 15.4.2" ,
2424 "react-dom" : " 15.4.2" ,
25- "uuid4" : " ^1.0.0" ,
2625 "prop-types" : " ^15.5.4"
2726 },
2827 "scripts" : {
4039 "^.+\\ .(css|scss)$" : " identity-obj-proxy" ,
4140 "^uuid/v4$" : " <rootDir>/node_modules/uuid4"
4241 }
42+ },
43+ "dependencies" : {
44+ "uuid4" : " ^1.0.0"
4345 }
4446}
You can’t perform that action at this time.
0 commit comments