View as Markdown

API reference

@salmonui/buttons/menu

52 exported symbols: 14 functions, 25 interfaces, 11 types and 2 constants. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/buttons/menu';

Functions

  • ContextMenuOpens a menu at the pointer for its target. <ContextMenu menu={<Menu>...</Menu>}>{target}</ContextMenu>, or targetRef for an element it does not wrap.
  • SplitButtonA primary Button and a menu trigger joined in one group: two tab stops; the trigger follows the Menu Button keys and Alt+ArrowDown on the primary part opens th…

Interfaces

Types

Constants