Menu


Import

Usage

Editable Code

Props

width

Description

It is used to set the width of the menu.

Values

String with valid width.

height

Description

It is used to set the height of the menu.

Values

String with valid height.

isOpen

Description

It is used to decide when the menu will be opened and closed.

Values

Boolean value.

onClickAway

Description

It is the function that will be called when user clicks away from the menu.

Values

Function that closes the menu.

top | right | bottom | left

Description

It is used to set the position of the menu.

Values

String with valid position.

color

Description

It is used to set the color of the menu.

Values

primary | secondary | accent | error | warning | success

Note

To learn about customizing the components check this section of the docs.