Skip to content

Commit

Permalink
fix: onSelect prop for OptionsMenu is optional (#1734)
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasialanz authored Oct 22, 2024
1 parent 1635e39 commit 9bd6636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/OptionsMenu/OptionsMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface OptionsMenuProps extends OptionsMenuAlignmentProps {
menuRef?: React.Ref<HTMLUListElement>;
trigger?: (props: OptionsMenuRenderTriggerProps) => React.ReactNode;
onClose?: () => void;
onSelect: (e: React.MouseEvent<HTMLElement>) => void;
onSelect?: (e: React.MouseEvent<HTMLElement>) => void;
closeOnSelect?: boolean;
show?: boolean;
children: React.ReactNode;
Expand Down

0 comments on commit 9bd6636

Please sign in to comment.