Skip to content

Commit 383b0ec

Browse files
committed
Update README
1 parent 84942d3 commit 383b0ec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ const uploader = new Uploader({
109109
});
110110
```
111111

112-
Then choose a UI component:
112+
Next, choose a UI component:
113113

114114
## `UploadButton`
115115

116116
The `UploadButton` component uses a [render prop](https://reactjs.org/docs/render-props.html) to provide an `onClick` callback to your button element.
117117

118-
When the `onClick` is called, a file upload modal will appear:
118+
When clicked, a file upload modal will appear:
119119

120120
```javascript
121121
import { UploadButton } from "react-uploader";
@@ -139,10 +139,9 @@ Optional props:
139139
- `options`
140140
- `onComplete`
141141

142-
143142
## `UploadDropzone`
144143

145-
Renders an inline drag-and-drop file upload dropzone:
144+
The `UploadDropzone` component renders an inline drag-and-drop file upload dropzone:
146145

147146
```javascript
148147
import { UploadDropzone } from "react-uploader";

0 commit comments

Comments
 (0)