Skip to content

Commit 5b99822

Browse files
committed
fix(Dropdown): fix menuRenderer type
1 parent 87afb2d commit 5b99822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/components/Dropdown/Dropdown.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export interface DropdownComponentProps extends CustomMenuBaseProps, CustomOptio
150150
/**
151151
* custom menu render function
152152
*/
153-
menuRenderer?: React.ReactElement;
153+
menuRenderer?: React.ReactElement | ((props: CustomMenuProps) => React.ReactElement);
154154
/**
155155
* 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.
156156
*/

0 commit comments

Comments
 (0)