geoview-core - v2.2.0
    Preparing search index...

    Variable MenuConst

    Menu: (props: MenuProps) => Element = MenuUI

    Type Declaration

      • (props: MenuProps): Element
      • Material-UI Menu component for dropdown menu container.

        Wraps Material-UI's Menu to provide dropdown menu container positioned relative to an anchor element. Supports custom positioning, animations, and all Material-UI Menu props. Best used with MenuItem components for complete menu hierarchies.

        Parameters

        • props: MenuProps

          Menu configuration (see MUI docs for all available props)

        Returns Element

        Menu component with positioning and animation support

        // Basic usage
        <Menu
        open={isOpen}
        anchorEl={anchorEl}
        onClose={handleClose}
        >
        <MenuItem>Option 1</MenuItem>
        <MenuItem>Option 2</MenuItem>
        </Menu>

        // With custom styling
        <Menu
        className="custom-menu"
        open={isOpen}
        anchorEl={anchorEl}
        >
        <MenuItem>Menu Item</MenuItem>
        </Menu>

        // With position
        <Menu
        open={isOpen}
        anchorEl={anchorEl}
        anchorOrigin={{
        vertical: 'bottom',
        horizontal: 'right',
        }}
        >
        <MenuItem>Positioned Item</MenuItem>
        </Menu>