react-native-headers
v1.1.3
Published
generates rythmic header components (H1-H6). Sizes are based on base font size which can be adjusted.
Downloads
4
Maintainers
Readme
react-native-headers
Simple HTML like header elements for react-native
##Installation
npm install react-native-headers --save
##Use Reference node module, export variable components.
var {H1, H2, H3, H4, H5, H6} = require('react-native-headers');
Now, just reference and use like you would with html
<H1>{this.props.foo}</H1>
<H2>{this.props.bar}</H2>
<H3>this is an H3 or header 3</H3>
<H4>...and so on</H4>
Currently only addresses font sizes. Yes, this is a very simple implementation. May address things like line-height, margins, padding etc in the future.