0.2.1 • Published 1 year ago
@bigbee.dev/expo-measure-text v0.2.1
@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