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