1.1.3 • Published 4 years ago

react-native-text-thumbnail v1.1.3

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

React Native Text Thumbnail

Installation

npm i react-native-text-thumbnail --save
or
yarn add react-native-text-thumbnail

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'