Skip to content

Commit f1e3b47

Browse files
author
Amin Dhouib
authored
Update README.md to add Discord
1 parent 51e8251 commit f1e3b47

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<br/>
44

55
<div align="center">
6-
An open-source, free-to-use NPM component that easily handles your file upload needs with seamless Google Drive and OneDrive integration.
7-
6+
<p>An open-source, free-to-use NPM component that easily handles your file upload needs with seamless Google Drive and OneDrive integration.</p>
7+
<p>🎮 Join our Discord, where we can provide quick support: <a href="https://discord.gg/ny5WUE9ayc">Discord Invite Link</a></p>
88
</div>
99
<br/>
1010
<p align="center">
@@ -31,7 +31,7 @@ yarn add @bassem97/upup
3131

3232
## Usage
3333

34-
### 1 - Inside you component or App.tsx import UpupUploader and the types you need :
34+
### 1 - Inside you component or App.tsx import UpupUploader and the types you need:
3535

3636
```javascript
3737
// imports
@@ -46,7 +46,7 @@ import {
4646
} from '@bassem97/upup'
4747
```
4848

49-
### 2 - Set your configurations keys from your .env file ( ex: .env.local ) :
49+
### 2 - Set your configurations keys from your .env file (ex: `.env.local`):
5050

5151
```javascript
5252
const space_secret = process.env.SPACE_SECRET
@@ -68,7 +68,7 @@ const [key, setKey] = useState('')
6868
const [canUpload, setCanUpload] = useState(false)
6969
```
7070

71-
### 4 - initialize the configs from the provider you want to use ( ex: DigitalOceanSpaces, GoogleDriveUploader, OneDriveUploader, S3 )
71+
### 4 - initialize the configs from the provider you want to use (ex: DigitalOceanSpaces, GoogleDriveUploader, OneDriveUploader, S3)
7272

7373
```javascript
7474
const s3Configs: S3Configs = {
@@ -102,7 +102,7 @@ const oneDriveConfigs: OneDriveConfigs = {
102102
}
103103
```
104104

105-
### 4 - Render the UpupUploader component and pass the configs and the adapter you want to use :
105+
### 4 - Render the UpupUploader component and pass the configs and the adapter you want to use:
106106

107107
```javascript
108108
return (
@@ -123,7 +123,7 @@ return (
123123
)
124124
```
125125

126-
### 5 - You can also use the UpupUploader component with the default configs and adapter :
126+
### 5 - You can also use the UpupUploader component with the default configs and adapter:
127127

128128
```javascript
129129
return (

0 commit comments

Comments
 (0)