[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:
Nicolas Gallagher
2017-07-29 17:30:31 -07:00
parent e04343e48e
commit 5fad78dcad
2 changed files with 49 additions and 14 deletions
@@ -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"