Skip to content

Commit

Permalink
WheelEventHandler<HTMLDivElement>
Browse files Browse the repository at this point in the history
  • Loading branch information
Asaf Hai committed Oct 1, 2024
1 parent 6973b92 commit 80fe238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/Dropdown/Dropdown.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
OptionTypeBase,
SingleValueProps
} from "react-select";
import React, { UIEventHandler } from "react";
import React, { UIEventHandler, WheelEventHandler } from "react";
import { VibeComponentProps } from "../../types";
import { DROPDOWN_MENU_PLACEMENT, DROPDOWN_MENU_POSITION } from "./DropdownConstants";
import { SIZES_VALUES } from "../../constants";
Expand Down Expand Up @@ -94,7 +94,7 @@ export interface DropdownComponentProps extends CustomMenuBaseProps, CustomOptio
/**
* Fired when the user scrolls to the bottom of the menu
*/
onMenuScrollToBottom?: (event: WheelEvent) => void;
onMenuScrollToBottom?: WheelEventHandler<HTMLDivElement>;
/**
* When the user reaches the top/bottom of the menu, prevent scroll on the scroll-parent
*/
Expand Down

0 comments on commit 80fe238

Please sign in to comment.