Skip to content

Commit 9821f8d

Browse files
authored
Update README.md
1 parent 7cada6a commit 9821f8d

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<div align="center">
1212
<a href="https://nice-avatar.chilllab.io/">
13-
<img src="https://user-images.githubusercontent.com/5305874/120076504-68e15980-c0d8-11eb-896c-3824b5eb05bb.png"
13+
<img src="https://user-images.githubusercontent.com/5305874/131275587-a6f44325-cb18-4a1c-8a1c-785942e751e7.png"
1414
width="600" alt="imagewall" />
1515
</a>
1616
</div>
@@ -38,15 +38,15 @@ yarn add react-nice-avatar
3838

3939
## Usage
4040

41-
1. Import the component
41+
1. Import the component.
4242
```js
4343
import Avatar, { genConfig } from 'react-nice-avatar'
4444
```
45-
2. Generate random config, the config can be saved into your database to use later
45+
2. Generate a random configuration, save it so that you can always rendering a same avatar with the configuration.
4646
```js
4747
const config = genConfig(AvatarConfig?)
4848
```
49-
3. Render the component with specific width / height and configuration
49+
3. Render the component with specific width / height and configuration.
5050
```jsx
5151
<Avatar style={{ width: '8rem', height: '8rem' }} {...config} />
5252
```
@@ -118,11 +118,19 @@ The options can be passed into genConfig or as React props
118118
```sh
119119
$ make test
120120
```
121-
122-
## Support the project
123-
<a href="https://www.buymeacoffee.com/wwayne" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
124121

125122
## License
126123

127-
Released under [MIT](/LICENSE) by [@chilllab](https://github.com/chilllab).
124+
Released under [MIT](/LICENSE) by [@cdapilab](https://github.com/dapilab).
128125
126+
---
127+
128+
<br />
129+
130+
<div align="center">
131+
<a href="https://dapiok.com">
132+
<img src="https://user-images.githubusercontent.com/5305874/131274720-2f4f32a3-7687-4ad5-8a60-88fce579a38b.png" width="300" alt="dapi">
133+
</a>
134+
</div>
135+
136+
<br />

0 commit comments

Comments
 (0)