diff --git a/packages/core/src/components/Dropdown/Dropdown.types.ts b/packages/core/src/components/Dropdown/Dropdown.types.ts index 421b90baed..976ccac5b1 100644 --- a/packages/core/src/components/Dropdown/Dropdown.types.ts +++ b/packages/core/src/components/Dropdown/Dropdown.types.ts @@ -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. */