Home > @uniformdev/design-system > MenuItemIcon

MenuItemIcon() function

Renders an icon for a menu item. Optional micro wrapper around an Icon component configured to match the menu item icon style.

Signature:

Parameters

ParameterTypeDescription
{ icon }{ icon: IconType; }

Returns:

_emotion_react_jsx_runtime.JSX.Element