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

0.2.1 • Public • Published

@bigbee.dev/expo-measure-text

Measure text height without laying it out

Installation

yarn add @bigbee.dev/expo-measure-text
npm install @bigbee.dev/expo-measure-text

Usage

import { measureHeights } from "@bigbee.dev/expo-measure-text";

// ...

const result = 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

Package Sidebar

Install

npm i @bigbee.dev/expo-measure-text

Weekly Downloads

253

Version

0.2.1

License

MIT

Unpacked Size

21.9 kB

Total Files

43

Last publish

Collaborators

  • jittuu