Skip to content

devvorld/react-native-text-thumbnail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Property Type Default Description Example
backgroundColor string '#333' Container Background Color '#ccc'
textColor string '#fff' Text Color '#000'
size number 60 Avatar Size 100
type string none Type of Avatar Optional values are: circle, hexagon 'circle'