MCPcopy Create free account
hub / github.com/editablejs/editable / ContextMenu

Interface ContextMenu

packages/ui/src/context-menu.tsx:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164type ContextMenuSize = 'small' | 'default' | 'large'
165export interface ContextMenu {
166 container?: HTMLElement | Point
167 className?: string
168 open?: boolean
169 onOpenChange?: (open: boolean) => void
170 side?: Side
171 align?: Align
172 minWidth?: number
173 size?: ContextMenuSize
174 children?: React.ReactNode
175}
176
177const ContextMenuContext = React.createContext<{ size: ContextMenuSize }>({
178 size: 'default',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…