This page is available as Markdown at /api/toolbar/type-aliases/toolbarannotationschematype.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
ToolbarAnnotationSchemaType
ToolbarAnnotationSchemaType =
AnnotationSchemaType&object
Defined in: toolbar/src/use-toolbar-schema.ts:133
Type Declaration
Section titled “Type Declaration”defaultValues?
Section titled “defaultValues?”
optionaldefaultValues:Record<string,unknown>
optionalicon:React.ComponentType
mutuallyExclusive?
Section titled “mutuallyExclusive?”
optionalmutuallyExclusive:ReadonlyArray<AnnotationDefinition["name"]>
The annotations this annotation cannot coexist with. The list replaces the default rule that an annotation is mutually exclusive with itself:
- Absent: the default applies (adding the annotation removes existing annotations of the same type in the selection).
[]: exclusive with nothing, not even itself, so same-type annotations may overlap.['other']: exclusive with exactly the listed annotations. Include the annotation’s own name to keep self-exclusivity.
shortcut?
Section titled “shortcut?”
optionalshortcut:KeyboardShortcut