Skip to content

Commit 50b4879

Browse files
fix(docsearch): add type to GetDropdownProps
1 parent 6bd21fc commit 50b4879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/autocomplete-react/src/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface DropdownProps {
1212
isOpen: boolean;
1313
status: string;
1414
suggestions: AutocompleteState<any>['suggestions'];
15-
getDropdownProps: GetDropdownProps;
15+
getDropdownProps: GetDropdownProps<React.MouseEvent>;
1616
getMenuProps: GetMenuProps;
1717
getItemProps: GetItemProps<any, React.MouseEvent>;
1818
dropdownRef: React.MutableRefObject<HTMLDivElement | null>;

0 commit comments

Comments
 (0)