ContextMenu

The same menu on right-click and the context-menu key.

View source
Right-click this request
import { ContextMenu } from "@logicplanes/kaeso-ui";

Props

  • children
    ReactNode

    The area that opens the menu on a right click or long press. When it holds nothing focusable, it becomes a focus stop, so Shift F10 and the context-menu key reach it; the focus returns to it when the menu closes.

  • onOpenChange
    ((open: boolean) => void)

    Called when it opens or closes.