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