mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 02:24:23 +00:00
737f93705c
Summary: @public As we're doing in D9440914 (OSS 64a52532fe88b482ae4b998133d340e6e1141a0f), send text metrics in an onTextLayout callback. These can be used by surrounding views for doing complicated layout like: - displaying a cursor at the end of text - vertical centering using capheight-baseline This right now isn't very performant but is only done when `onTextLayout` is set. I plan to optimize it with a capheight and xheight cache in a follow up diff. Reviewed By: achen1 Differential Revision: D9585613 fbshipit-source-id: aa20535b8371d5aecf15822d66a0d973c9a7eeda
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.