Closed
Description
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:
import type { TextFieldProps } from 'react-native-material-textfield';
import type { Props } from 'react-native/Libraries/Components/TextInput/TextInput';
type ResultingProps = {|
...TextFieldProps,
...Props
|};
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 the type Props
in nearest release?