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

# AnnotationButton

> **AnnotationButton** = `object`

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

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

## Properties

### send()

> **send**: (`event`) => `void`

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

#### Parameters

##### event

[`AnnotationButtonEvent`](/api/toolbar/type-aliases/annotationbuttonevent/)

#### Returns

`void`

***

### snapshot

> **snapshot**: `object`

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

#### matches()

> **matches**: (`state`) => `boolean`

##### Parameters

###### state

`"disabled"` | `"enabled"` | \{ `disabled`: `"inactive"`; \} | \{ `disabled`: `"active"`; \} | \{ `enabled`: `"inactive"`; \} | \{ `enabled`: \{ `inactive`: `"idle"`; \}; \} | \{ `enabled`: \{ `inactive`: `"showing dialog"`; \}; \} | \{ `enabled`: `"active"`; \}

##### Returns

`boolean`