rn-simple-dimension
v1.0.1
Published
Get px of deviceHeight/100 and so on
Downloads
4
Maintainers
Readme
Install
Simple : yarn add rn-simple-dimension OR npm i rn-simple-dimension
Usage
var {vw, vh, vmin, vmax} = require('rn-simple-dimension');
Notice the required operator/syntax: x * vw
<View style={{height: 50*vh, width: 50*vw}} />
<Text style={{fontSize: 50*vmin}}></Text>