Menu
The Menu
component is a building block for application menus.
focusLast?: boolean
When
true
, the last element will be focused on mount.onClickOutside?: () => void
onEscape?: () => void
onItemClick?: () => void
space?: number | number[]
Hover the menu to see the focused item changing.
The MenuItem
component takes a children
property for rendering custom menu item .
Updated May 26, 2021 @ 03:25