mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-03 22:43:35 +08:00
Summary: `TextInput` does not automatically forward all props using the spread operator so we need to explicitly forward the `onLayout` prop. Closes https://github.com/facebook/react-native/pull/1296 Github Author: James Ide <ide@jameside.com> Test Plan: Mount a TextInput component with an `onLayout` prop and see that the callback handler is invoked with the TextInput's frame.