1.0.7 • Published 5 years ago

@muhzi/react-native-user-avatar v1.0.7

Weekly downloads
24
License
MIT
Repository
github
Last release
5 years ago

npm.io npm.io PRs Welcome npm.io

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
/>

Props

Author

Muhsin K

License

MIT