react-native-nice-avatar
v1.1.0
Published
This is an Avatar built on the work done by dapilab in https://github.com/dapilab/react-nice-avatar but made to work across both react and react-native
Downloads
45
Readme
React Nice Avatar
This is an Avatar built on the work done by dapilab in https://github.com/dapilab/react-nice-avatar but made to work across both react and react-native
Versions
0.1.1 - Test 1.1.0 - moved to a Face Elements option which included Ear and EarRing merged
Usage
This library works with both react and react-native projects. However please note that in order for this to work with react-native you will also need ot install react-native-svg
The following props can be passed through
size: number; eyesType: 'Round' | 'Eyeshadow' | 'Eyes' | 'Smiling'; backgroundType: 'Circle' | 'Square' | 'Rounded'; backgroundColor: string; skinColor: string; earType: 'Round' | 'WithEarLobe'; earRingType: 'None' | 'Stud' | 'Hoop'; mouthType: | 'Nervous' | 'Pucker' | 'Frown' | 'Sad' | 'Smirk' | 'Smile' | 'Suprised' | 'Laughing'; hairType: | 'Fonze' | 'MrT' | 'Doug' | 'Danny' | 'Full' | 'Turban' | 'Pixie' | 'Bald'; hairColor: string; noseType: 'Round' | 'Pointed' | 'Curved'; eyeBrowsType: 'Up' | 'Down' | 'EyeLashesUp' | 'EyeLashesDown'; glassesType: 'None' | 'Round' | 'Square'; facialHairType: 'None' | 'Stubble' | 'Beard'; shirtType: 'Collared' | 'Crew' | 'Open'; shirtColor: string; collarColor: string;