diff --git a/packages/react-native/Libraries/Components/TextInput/TextInput.js b/packages/react-native/Libraries/Components/TextInput/TextInput.js index 8eeb465cf5f..ad5a1d83e60 100644 --- a/packages/react-native/Libraries/Components/TextInput/TextInput.js +++ b/packages/react-native/Libraries/Components/TextInput/TextInput.js @@ -1787,11 +1787,11 @@ const autoCompleteWebToTextContentTypeMap = { username: 'username', }; -const ExportedForwardRef: React.AbstractComponent< - React.ElementConfig, - TextInputInstance, +const ExportedForwardRef: component( + ref: React.RefSetter, + ...props: React.ElementConfig // $FlowFixMe[incompatible-call] -> = React.forwardRef(function TextInput( +) = React.forwardRef(function TextInput( { allowFontScaling = true, rejectResponderTermination = true,