From 11ec6a407ef71da1aeab9c21960ea446cf721443 Mon Sep 17 00:00:00 2001 From: Travis Date: Thu, 27 Apr 2017 08:47:24 -0400 Subject: [PATCH] updates readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 888333e..a77f003 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ handleFiles = files => { [HTML5 FileList](https://developer.mozilla.org/en-US/docs/Web/API/FileList) ### Base64 +When base64 is true, React File Reader returns a JS Object including both the base64 files and the HTML5 FileList. You can access their values at Object.base64 or Object.fileList + ```javascript handleFiles = (files) => { console.log(files.base64) @@ -81,6 +83,7 @@ handleFiles = (files) => { ``` #### Response + ###### multipleFiles={true} ``` ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA", "data:image/png;base64,i..."] @@ -99,4 +102,4 @@ handleFiles = (files) => { ``` ## Copyright -Copyright (c)2017 [Grillwork Inc](http://grillwork.surge.sh). See [LICENSE](https://github.com/GrillWork/react-file-reader/blob/master/LICENSE) for details. +Copyright (c)2017 [Grillwork Inc](http://grillwork.io). See [LICENSE](https://github.com/GrillWork/react-file-reader/blob/master/LICENSE) for details.