1.0.1 • Published 6 years ago
rn-simple-dimension v1.0.1
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>