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

Commit

Permalink
moves uuid to dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Mathis committed Apr 10, 2017
1 parent 0e87fe7 commit 8f67e7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ npm install react-file-reader --save
- a child element/component
- pass in your customized button to represent your upload input
- handleFiles
- a function to handle the selected files from the HTML input.
- a function to handle the selected files from the HTML input

### Optional Props
- base64
- a `boolean` to convert and return the files as a base64 string
- multipleFile selection will return an `array` of `base64` strings
- a `boolean` to convert and return the files as a base64 `string`
- multipleFile selection will return an `array` of base64 `strings`
- multipleFiles
- a `boolean` enforce single file or multiple file selection
- fileTypes
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"react": "15.4.2",
"react-addons-test-utils": "15.4.2",
"react-dom": "15.4.2",
"uuid4": "^1.0.0",
"prop-types": "^15.5.4"
},
"scripts": {
Expand All @@ -40,5 +39,8 @@
"^.+\\.(css|scss)$": "identity-obj-proxy",
"^uuid/v4$": "<rootDir>/node_modules/uuid4"
}
},
"dependencies": {
"uuid4": "^1.0.0"
}
}

0 comments on commit 8f67e7b

Please sign in to comment.