mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 14:21:44 +00:00
[fix] remove unsupported TextInput props
For compatibility with React Native, do not pass on unsupported TextInput props to avoid ReactDOM warnings. Close #571
This commit is contained in:
@@ -226,6 +226,12 @@ nativeEvent: { key: keyValue } }`}</Code>{' '}
|
||||
}
|
||||
/>
|
||||
|
||||
<DocItem
|
||||
name="onLayout"
|
||||
typeInfo="?function"
|
||||
description="Invoked on mount and layout changes with {x, y, width, height}."
|
||||
/>
|
||||
|
||||
<DocItem
|
||||
name="onSelectionChange"
|
||||
typeInfo="?function"
|
||||
|
||||
Reference in New Issue
Block a user