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

Commit 0a5038d

Browse files
author
Travis Mathis
committed
readme updates
1 parent 612873e commit 0a5038d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install react-file-reader --save
1717
- fixed issue w/ uuid4 being a devDependency
1818
- 1.0.0
1919
- initial release
20-
20+
2121
## Props
2222
### Default Props
2323
- fileTypes: 'image/*'
@@ -31,6 +31,9 @@ npm install react-file-reader --save
3131
- a function to handle the selected files from the HTML input
3232

3333
### Optional Props
34+
- elementId
35+
- 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.
3437
- base64
3538
- a `boolean` to convert and return the files as a base64 `string`
3639
- multipleFile selection will return an `array` of base64 `strings`

0 commit comments

Comments
 (0)