File tree Expand file tree Collapse file tree 3 files changed +19
-21
lines changed
Expand file tree Collapse file tree 3 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,7 @@ const uploader = new Uploader({
6666< / UploadButton>
6767```
6868
69- # Documentation
70-
71- ## Installation
69+ # Installation
7270
7371Install via NPM:
7472
@@ -88,7 +86,7 @@ Or via a `<script>` tag:
8886<script src =" https://js.upload.io/react-uploader/v1" ></script >
8987```
9088
91- ## Initialization
89+ ## Initialize
9290
9391Initialize once at the start of your application:
9492
@@ -102,11 +100,11 @@ const uploader = new Uploader({
102100});
103101```
104102
105- ## Using the File Upload Components
103+ ## Choose a Component
106104
107105` react-uploader ` provides two UI components:
108106
109- ### Option 1) Creating a File Upload Button
107+ ### ( 1) The File Upload Button
110108
111109``` javascript
112110// Ignore if installed via a script tag.
@@ -123,7 +121,7 @@ import { UploadButton } from "react-uploader";
123121< / UploadButton>
124122```
125123
126- ### Option 2) Creating a Dropzone
124+ ### ( 2) The Dropzone
127125
128126``` javascript
129127// Ignore if installed via a script tag.
Original file line number Diff line number Diff line change 6767 "react" : " >=16.3.0"
6868 },
6969 "dependencies" : {
70- "uploader" : " 1.37.2 "
70+ "uploader" : " ^ 1.37.3 "
7171 },
7272 "devDependencies" : {
7373 "@babel/cli" : " 7.17.6" ,
You can’t perform that action at this time.
0 commit comments