rn-font-scale
v1.0.1
Published
react-native font scaler
Downloads
3
Maintainers
Readme
RN-Font-Scale
npm install rn-font-scale --save
This function uses Dimensions and PixelRatio to scale the font.
import fontScale from 'rn-font-scale';
<Text style={{
fontSize: fontScale(23)
}}>Scales</Text>