1.0.7 • Published 5 years ago
@muhzi/react-native-user-avatar v1.0.7
Demo
You can find Snack expo example here
Installation
npm install @muhzi/react-native-user-avatar
#OR
yarn add @muhzi/react-native-user-avatar
How to use?
import UserAvatar from "@muhzi/react-native-user-avatar";
Simply place a <UserAvatar/>
component.
<UserAvatar
userName="John Samuel"
size={80}
backgroundColor="#0be881"
src="https://images.pexels.com/photos/4403924/pexels-photo-4403924.jpeg"
active
/>