Skip to content

Commit

Permalink
fix(Dropdown): fix menuRenderer type
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar committed Dec 18, 2024
1 parent 87afb2d commit 5b99822
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 5b99822

Please sign in to comment.