react-native-peeps
React-native implementation of the hand drawn illustration library called Open Peeps
Installation
npm install react-native-peeps
Module depends on react-native-svg, so install it too.
npm install react-native-svg
If your React Native version is below 0.60 the auto-linking feature won't work. You need to follow the steps to complete your installation of the react-native-svg.
Otherwise, running the npm install react-native-svg
command will be sufficient.
Usage
const App = { return <Peep style=stylespeepStyle accessory=AccessoriesSunglassWayfarer body=BodyGeek face=FaceDriven facialHair=FacialHairFullMajestic hair=HairShavedSides /> } const styles = StyleSheet
To use circular version
const App = { return <CirclePeep style=stylespeepStyle accessory=AccessoriesGlassRoundThick body=BodyGeek face=FaceSmile facialHair=FacialHairGoatee hair=HairShortVolumed circleStyle=stylescircleStyle /> } const styles = StyleSheet
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Thanks 🙌