rn-font-scale

1.0.1 • Public • Published

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>

/rn-font-scale/

    Package Sidebar

    Install

    npm i rn-font-scale

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • parkerdan