@domir/react-native-measure-text-next
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

react-native-measure-text-next

Measure text size e.g. for animations

Installation

npm install @domir/react-native-measure-text-next

Usage

import { measureWidth } from '@domir/react-native-measure-text-next';

// ...

const result = measureWidth({
  text: 'Test',
  fontSize: 16,
});

Contributing

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

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i @domir/react-native-measure-text-next

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

35 kB

Total Files

35

Last publish

Collaborators

  • domir