Comments (1)
yeah you can, but you have to save the config, same config will render same avatar, e.g.:
import Avatar, { genConfig } from 'react-nice-avatar'
const config = genConfig() // Save the config into your Database or somewhere for the future usage
<Avatar style={{ width: '8rem', height: '8rem' }} {...config} />
from react-nice-avatar.
Related Issues (20)
- Setting hairStyle to "mohawk" or "thick" resets the hairColor to black HOT 3
- Beard support HOT 1
- Eyelashes vanishing HOT 1
- Library does not work in production HOT 3
- Support for React-Native HOT 6
- Update react-native-nice-avatar HOT 3
- PNG Export HOT 1
- SVG Export Support HOT 1
- Extends with new styles HOT 1
- seed parameter for getConfig()? HOT 1
- Error: Minified React error #130 HOT 5
- Different head position HOT 2
- Layout issue when using textAlign: "center" wrap HOT 1
- ReactNiceAvatar not working in production HOT 3
- getConfig not working properly HOT 22
- Warning: Prop `id` did not match. Server: "mask2091363" Client: "mask5678949" HOT 4
- Provide customizable Avatar Editor HOT 1
- Seed + config HOT 8
- TypeError: Super expression must either be null or a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-nice-avatar.