> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# ToolbarAnnotationSchemaType

> **ToolbarAnnotationSchemaType** = `AnnotationSchemaType` & `object`

Defined in: toolbar/src/use-toolbar-schema.ts:133

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Type Declaration

### defaultValues?

> `optional` **defaultValues**: `Record`\<`string`, `unknown`\>

### icon?

> `optional` **icon**: `React.ComponentType`

### mutuallyExclusive?

> `optional` **mutuallyExclusive**: `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?

> `optional` **shortcut**: `KeyboardShortcut`