15bf2c57b8
Summary: On iOS, if `TextInput` is used with prop `multiline={true}`, the backend view is `UITextView`. Sometimes we need `UITextView.dataDetectorTypes` to detect clickable url in the text view. The PR add this prop to `TextInput`, so we can use it like this: `<TextInput` ` defaultValue="Detect phone number: 88888888."` ` editable={false}` ` multiline={true}` ` dataDetectorTypes="all"` ` />` Similar as #8743 . Closes https://github.com/facebook/react-native/pull/8863 Differential Revision: D3648027 fbshipit-source-id: 987bd4f46fb5be74099b62988135a32115d9269c |
||
---|---|---|
.. | ||
TextInput.js | ||
TextInputState.js |