Skip to content

Commit ca8ba88

Browse files
committed
Improve type signature
1 parent bac9fe6 commit ca8ba88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/AddressSearch/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type {ForwardedRef, RefObject} from 'react';
2-
import type {BlurEvent, StyleProp, View, ViewStyle} from 'react-native';
2+
import type {BlurEvent, StyleProp, TextInputProps, View, ViewStyle} from 'react-native';
33
import type {Place} from 'react-native-google-places-autocomplete';
44
import type {ForwardedFSClassProps} from '@libs/Fullstory/types';
55
import type {Country} from '@src/CONST';
@@ -78,7 +78,7 @@ type AddressSearchProps = ForwardedFSClassProps & {
7878
renamedInputKeys?: Record<string, string>;
7979

8080
/** Auto complete attribute for the input field */
81-
autoComplete?: string;
81+
autoComplete?: TextInputProps['autoComplete'];
8282

8383
/** Maximum number of characters allowed in search input */
8484
maxInputLength?: number;

0 commit comments

Comments
 (0)