react-file-base64
react-file-base64 copied to clipboard
React Component for Converting File to base64
solves #6
Hi I want to reset the upload file button on my form. I am using FileBase64 for it ``` ``` What I tried was a button to set the state...
Is there a way to change the text inside the FileBase button? I searched, but can't find out
It would be nice to be able to apply styling to the buttons and to the text Input.
I found a issue when use `FileBase64` component that is the component can't be init after some operation. And think reset function is necessary, so I commit this PR.
Please add Classname and Style Props to make the uploader more customizable
Using this component I found myself in the need to put an id in the input that it generates
Please add d.ts file to make this package compatible with Typescript. Thanks.
I need to be able to control which file types the component accepts. I've added a passed-through `accept` prop.