TextInput flow type for props is not exported #26263
Labels
Bug
Component: TextInput
Related to the TextInput component.
Flow
Stale
There has been a lack of activity on this issue and it may be closed soon.
If we look through this file we can see that there are a lot of types are exported.
https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/TextInput.js
But the main type
type Props = {...}
is not exported.I'm using
react-native-material-textfield
(https://github.com/n4kz/react-native-material-textfield) and I can not make proper typings for it cause I'm not able to write something like:React Native version:
0.60.4
Steps To Reproduce
Look at this line
https://github.com/facebook/react-native/blob/master/Libraries/Components/TextInput/TextInput.js#L412
Describe what you expected to happen:
Could you add
export
to thetype Props
in nearest release?The text was updated successfully, but these errors were encountered: