Skip to content

Commit

Permalink
fix(Dropdown): fix menuRenderer type (#2661)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar authored Dec 18, 2024
1 parent f57a0e7 commit 16b707b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/Dropdown/Dropdown.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export interface DropdownComponentProps extends CustomMenuBaseProps, CustomOptio
/**
* custom menu render function
*/
menuRenderer?: React.ReactElement;
menuRenderer?: React.ReactElement | ((props: CustomMenuProps) => React.ReactElement);
/**
* Default placement of the Dropdown menu in relation to its control. Use "auto" to flip the menu when there isn't enough space below the control.
*/
Expand Down

0 comments on commit 16b707b

Please sign in to comment.