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

# useAnnotationPopover

> **useAnnotationPopover**(`props`): [`AnnotationPopover`](/api/toolbar/type-aliases/annotationpopover/)

Defined in: toolbar/src/use-annotation-popover.ts:280

Manages the state and available events for an annotation popover.

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

## Parameters

### props

#### schemaTypes

readonly [`ToolbarAnnotationSchemaType`](/api/toolbar/type-aliases/toolbarannotationschematype/)[]

## Returns

[`AnnotationPopover`](/api/toolbar/type-aliases/annotationpopover/)