mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a911efaecd
Summary: Refines the exported type of `Text` so that it is more accurate. Instead of `HostComponent<TextProps>` (which is not exactly accurate), we use the recently introduced types: `NativText` and `NativeVirtualText`. Changelog: [Changed][General] - Refined Flow type for `Text` component. Reviewed By: nadiia Differential Revision: D24486720 fbshipit-source-id: fad114fd14335933ebc2f7430d7b8b7838b6b523