MenuItemProps

MenuItem displays an item within a menu. Ensures consistent styling and structure for content, icons, links, and submenus in Menu components.

Props

The following table outlines the props for the MenuItemProps:

NameTypeDefaultDescription
children
node
-

Specifies the content of the menu item. Can be text or any valid React node.

className
string
-

Specifies an optional CSS class to apply to the menu item.

disabled
boolean
false

Specifies whether the menu item is disabled.