Components
MenuItem
Code

MenuItem

NOTE: Exotic components are not callable.

Parameters

props

  • Type: @vtex/shoreline-components.MenuItemProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

asChild (optional)

Children composition

  • Type: boolean

  • Default: false

critical (optional)

Wether is critical

  • Type: boolean

  • Default: false

disabled (optional)

Wether is disabled

  • Type: boolean

  • Default: false

View source (opens in a new tab)