Skip to content

Commit 762f153

Browse files
committed
fix: linting for input component
1 parent 4ffa53b commit 762f153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/input.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
RegisterOptions,
77
} from 'react-hook-form';
88
import { useController } from 'react-hook-form';
9-
import type { TextInput, TextInputProps } from 'react-native';
9+
import type { TextInputProps } from 'react-native';
1010
import { I18nManager, StyleSheet, View } from 'react-native';
1111
import { TextInput as NTextInput } from 'react-native';
1212
import { 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), []);

0 commit comments

Comments
 (0)