Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Onclick event to dropdown-menu onClick prop.
  • Loading branch information
margolisj committed Sep 12, 2023
commit a0a4c635cf7010aa6338845da16d6b2ae94e8720
2 changes: 1 addition & 1 deletion packages/components/src/dropdown-menu/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type DropdownOption = {
/**
* A callback function to invoke when the option is selected.
*/
onClick?: () => void;
onClick?: ( event?: React.MouseEvent ) => void;
/**
* Whether or not the control is currently active.
*/
Expand Down