MenuOrDrawerOptions

If a menu does not have an option is not a menu.

Example

Props

    đŸ•šī¸ standard props
    open
    boolean
    Controls whether the menu or drawer is open
    false
    elements
    Element[]
    List of selectable elements
    []
    menuProps
    ComponentProps<typeof Menu>
    Props for the menu
    drawerProps
    ComponentProps<typeof Drawer>
    Props for the drawer
    🎨 style props
    No data available

Slots

    No data available

Events

    onselect
    Triggered when an element is selected.
    AttributeTypeDescription
    elementElementThe selected element.