Skip to content

Commit 391b11b

Browse files
committed
Unpin from exact version of Uploader
1 parent ff66a83 commit 391b11b

File tree

3 files changed

+19
-21
lines changed

3 files changed

+19
-21
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ const uploader = new Uploader({
6666
</UploadButton>
6767
```
6868

69-
# Documentation
70-
71-
## Installation
69+
# Installation
7270

7371
Install 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

9391
Initialize 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.

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
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",

0 commit comments

Comments
 (0)