1.0.1 • Published 7 years ago
rn-font-scale v1.0.1
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>