title-component-example
v1.0.3
Published
### Usage
Readme
Production
Usage
<TitleComponent text='MyTitle' style={{
color: 'black',
backgroundColor: 'white',
height: '20px',
}}>Props
text: PropTypes.string.isRequired, style: PropTypes.shape({
color: PropTypes.string,
backgroundColor: PropTypes.string,
height: PropTypes.string,
}),
// default
style: {
color: 'black',
backgroundColor: 'white',
height: '20px',
},