MenuItemIconProps

MenuItemIcon displays icons within a menu item. Ensures consistent styling and structure for icon content or nodes in MenuItem components.

Props

The following table outlines the props for the MenuItemIconProps:

NameTypeDefaultDescription
children
node
-

Specifies the content of the icon. Typically an icon, a class name for custom styling or any SVG element.

className
string
-

Specifies an optional CSS class to apply to the icon container.