You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import type { TextFieldProps } from 'react-native-material-textfield';
import type { Props } from 'react-native/Libraries/Components/TextInput/TextInput';
type ResultingProps = {|
...TextFieldProps,
...Props
|};
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
exportto thetype Propsin nearest release?