Skip to content
This page is available as Markdown at /api/toolbar/type-aliases/annotationbuttonevent.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

AnnotationButtonEvent

AnnotationButtonEvent = { type: "close dialog"; } | { type: "open dialog"; } | { annotation: { value: Record<string, unknown>; }; type: "add"; } | { type: "remove"; }

Defined in: toolbar/src/use-annotation-button.ts:258