Skip to content

MenuAt beta ​

Function of @v12-engine/client/kit

ts
export declare function MenuAt(props: {
    at: Element | {
        x: number;
        y: number;
    };
    items: MenuItem[];
    placement?: TipPlacement;
    onClose: () => void;
    mount?: Element;
    menu?: MenuOptions;
    own?: Own<OwnMenuProps>;
    children?: OpenMenu;
}): JSX.Element;

A menu open by an element or at a point of the screen, until it is closed: what openMenu shows