1.0.7 • Published 5 years ago

react-native-text-avatar v1.0.7

Weekly downloads
283
License
ISC
Repository
-
Last release
5 years ago

React Native Text Avatar

Text avatar for the given string like gmail

Installation

npm install react-native-text-avatar --save
or
yarn add react-native-text-avatar

Example Usage

<TextAvatar
 backgroundColor={'#ffff00'}
 textColor={'#0000ff'}
 size={60}
 type={'circle'} // optional
>John Doe</TextAvatar>

Configuration

PropertyTypeDefaultDescriptionExample
backgroundColorstring'#333'Container Background Color'#ccc'
textColorstring'#fff'Text Color'#000'
sizenumber60Avatar Size100
typestringnoneType of Avatar Optional values are: circle, hexagon'circle'
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago