File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type {
66 RegisterOptions ,
77} from 'react-hook-form' ;
88import { useController } from 'react-hook-form' ;
9- import type { TextInput , TextInputProps } from 'react-native' ;
9+ import type { TextInputProps } from 'react-native' ;
1010import { I18nManager , StyleSheet , View } from 'react-native' ;
1111import { TextInput as NTextInput } from 'react-native' ;
1212import { tv } from 'tailwind-variants' ;
@@ -71,7 +71,7 @@ interface ControlledInputProps<T extends FieldValues>
7171 extends NInputProps ,
7272 InputControllerType < T > { }
7373
74- export const Input = React . forwardRef < TextInput , NInputProps > ( ( props , ref ) => {
74+ export const Input = React . forwardRef < NTextInput , NInputProps > ( ( props , ref ) => {
7575 const { label, error, testID, ...inputProps } = props ;
7676 const [ isFocussed , setIsFocussed ] = React . useState ( false ) ;
7777 const onBlur = React . useCallback ( ( ) => setIsFocussed ( false ) , [ ] ) ;
You can’t perform that action at this time.
0 commit comments