@velox/context-menu
Right-click context menus using the native onRightPress event. Dismisses on any
outside click and flips back on-screen near window edges.
Install
npm install @velox/context-menuUsage
import { ContextMenu } from '@velox/context-menu'
<ContextMenu items={[
{ label: 'Open', action: () => open(id) },
{ separator: true },
{ label: 'Delete', action: () => del(id), destructive: true },
]}>
<NoteCard note={note} />
</ContextMenu>Right-click is also available on any Pressable via the onRightPress prop.