Skip to content

Commit e7bc023

Browse files
CaptainHaideronmotion
authored andcommitted
Format Changed
1 parent f155658 commit e7bc023

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/index.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@ interface AutocompleteDropdownProps {
4141
closeOnSubmit?: boolean;
4242
clearOnFocus?: boolean;
4343
debounce?: number;
44-
direction?: "down" | "up";
45-
position?: "absolute" | "relative";
44+
direction?: 'down' | 'up';
45+
position?: 'absolute' | 'relative';
4646
bottomOffset?: number;
4747
textInputProps?: TextInputProps;
4848
onChangeText?: (text: string) => void;
4949
onSelectItem?: (item: TAutocompleteDropdownItem) => void;
5050
renderItem?: (
5151
item: TAutocompleteDropdownItem,
52-
searchText: string
52+
searchText: string,
5353
) => JSX.Element;
5454
onOpenSuggestionsList?: (isOpened: boolean) => void;
5555
onClear?: () => void;
5656
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'];
6060
controller?: (controller: AutocompleteDropdownRef) => void;
6161
containerStyle?: StyleProp<ViewStyle>;
6262
inputContainerStyle?: StyleProp<ViewStyle>;
@@ -70,7 +70,7 @@ interface AutocompleteDropdownProps {
7070
ItemSeparatorComponent?: JSX.Element;
7171
EmptyResultComponent?: JSX.Element;
7272
emptyResultText?: string;
73-
flatListProps?: FlatListProps<any>;
73+
flatListProps?: FlatListProps<any>
7474
}
7575

7676
export const AutocompleteDropdown: FC<AutocompleteDropdownProps>;

0 commit comments

Comments
 (0)