Nancy's Preferred Machete

    @bigbee.dev/react-native-measure-text-size
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.0 • Public • Published

    react-native-measure-text-size

    Measure text height without laying it out

    Installation

    yarn add @bigbee.dev/react-native-measure-text-size
    npm install @bigbee.dev/react-native-measure-text-size

    Usage

    import { measureHeights } from "@bigbee.dev/react-native-measure-text-size";
    
    // ...
    
    const result = await measureHeights({
      texts: ['Hello', 'World'],
      width: 200,
    });

    Contributing

    See the contributing guide to learn how to contribute to the repository and the development workflow.

    License

    MIT

    Install

    npm i @bigbee.dev/react-native-measure-text-size

    DownloadsWeekly Downloads

    91

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    34.3 kB

    Total Files

    21

    Last publish

    Collaborators

    • jittuu