We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8194f commit 09744c2Copy full SHA for 09744c2
README.md
@@ -44,13 +44,15 @@ class MyComponent extends React.Component {
44
});
45
}
46
render() {
47
- <form>
48
- <label htmlFor="my-file-input">Upload a File:</label>
49
- <FileReaderInput as="binary" id="my-file-input"
50
- onChange={this.handleChange}>
51
- <button>Select a file!</button>
52
- </FileReaderInput>
53
- </form>
+ return (
+ <form>
+ <label htmlFor="my-file-input">Upload a File:</label>
+ <FileReaderInput as="binary" id="my-file-input"
+ onChange={this.handleChange}>
+ <button>Select a file!</button>
+ </FileReaderInput>
54
+ </form>
55
+ );
56
57
58
```
0 commit comments