@muhzi/react-native-user-avatar
v1.0.7
Published
React native user avatar component with progressive loading and text fallback support
Maintainers
Readme
Demo
You can find Snack expo example here
Installation
npm install @muhzi/react-native-user-avatar
#OR
yarn add @muhzi/react-native-user-avatarHow 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
/>