MenuItem
label
Label of the menu item.
- type string
command
Command to execute on click.
- type string | Function(optional)
children
Children of the menu item.
- type Array<MenuItem>(optional)
divider
Controls whether to show divider or not.
- type boolean(optional)
icon
Icon to show at the menu item.
- type string(optional)
disabled
Icon to show at the menu item.
- type boolean(optional)