menu

v0.86.0arrow_drop_down
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
2,357
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
subject
onClick handler for MenuItem.
1 contributor
Like
Use menu in your project ?
Copied
npm i @bit/semantic-org.semantic-ui-react.menu
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
modified
chevron_left
chevron_right

onClick handler for MenuItem. Mutually exclusive with children.

A menu displays grouped navigation actions.

onClick handler for MenuItem. Mutually exclusive with children.

MenuHeader ()

A menu item may include a header or may itself be a header.

Called on click. When passed, the component will render as an a tag by default instead of a div.

A menu can contain an item.

Called on click. When passed, the component will render as an a tag by default instead of a div.

MenuMenu ()

A menu can contain a sub menu.

Properties
NameTypeDescription
as
custom

An element type to render as (string or function).

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

as
custom

An element type to render as (string or function).

children
node

Primary content.

className
string

Additional classes.

content
custom

Shorthand for primary content.

position
'left' | 'right'

A sub menu can take left or right position.