@@ -41,22 +41,22 @@ interface AutocompleteDropdownProps {
41
41
closeOnSubmit ?: boolean ;
42
42
clearOnFocus ?: boolean ;
43
43
debounce ?: number ;
44
- direction ?: " down" | "up" ;
45
- position ?: " absolute" | " relative" ;
44
+ direction ?: ' down' | 'up' ;
45
+ position ?: ' absolute' | ' relative' ;
46
46
bottomOffset ?: number ;
47
47
textInputProps ?: TextInputProps ;
48
48
onChangeText ?: ( text : string ) => void ;
49
49
onSelectItem ?: ( item : TAutocompleteDropdownItem ) => void ;
50
50
renderItem ?: (
51
51
item : TAutocompleteDropdownItem ,
52
- searchText : string
52
+ searchText : string ,
53
53
) => JSX . Element ;
54
54
onOpenSuggestionsList ?: ( isOpened : boolean ) => void ;
55
55
onClear ?: ( ) => void ;
56
56
onChevronPress ?: ( ) => void ;
57
- onSubmit ?: TextInputProps [ " onSubmitEditing" ] ;
58
- onBlur ?: TextInputProps [ " onBlur" ] ;
59
- onFocus ?: TextInputProps [ " onFocus" ] ;
57
+ onSubmit ?: TextInputProps [ ' onSubmitEditing' ] ;
58
+ onBlur ?: TextInputProps [ ' onBlur' ] ;
59
+ onFocus ?: TextInputProps [ ' onFocus' ] ;
60
60
controller ?: ( controller : AutocompleteDropdownRef ) => void ;
61
61
containerStyle ?: StyleProp < ViewStyle > ;
62
62
inputContainerStyle ?: StyleProp < ViewStyle > ;
@@ -70,7 +70,7 @@ interface AutocompleteDropdownProps {
70
70
ItemSeparatorComponent ?: JSX . Element ;
71
71
EmptyResultComponent ?: JSX . Element ;
72
72
emptyResultText ?: string ;
73
- flatListProps ?: FlatListProps < any > ;
73
+ flatListProps ?: FlatListProps < any >
74
74
}
75
75
76
76
export const AutocompleteDropdown : FC < AutocompleteDropdownProps > ;
0 commit comments