react-native-personas-avatar
v1.0.0
Published
A playful avatar generator for the modern age
Readme
react-native-personas-avatar
An unofficial React Native library to generate playfull avatar by https://personas.draftbit.com/
![]()
Getting started
This library use react-native-svg to render avatar
yarn add react-native-svg
yarn add react-native-personas-avatar
Props
characters: used to generate the avatar with predefined characters. This value will be returned byonNewCharacters. If null, a random avatar will be generatedonNewCharacters: If a new avatar created. It will return characters string to be used withcharactersprop above.
Usage
import { PersonasAvatar } from 'react-native-personas-avatar';
// Render random avatar
<PersonasAvatar
style={{
width: 200,
height: 200
}}
/>