Skip to content

React Native library to generate Google Inbox style material list icons

License

Notifications You must be signed in to change notification settings

IDTLabs/react-native-material-initials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Material Initials

react-native-material-initials

Usage

<MaterialInitials
  style={{alignSelf: 'center'}}
  backgroundColor={'red'}
  color={'white'}
  size={100}
  text={'John Doe'}
  single={false}
/>

Installation

$ npm install --save react-native-material-initials

React Native

import MaterialInitials from 'react-native-material-initials';

Props

Key Type Description
text String The text to use to make initials
size Number The pixel height / width of the icon
color String Override the text color with any valid CSS color value
single Boolean Whether to only use a single initial or two
backgroundColor String Override the background color with any valid CSS color value

About

React Native library to generate Google Inbox style material list icons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published