Skip to content

Function: createAnnotationsContext()

ts
function createAnnotationsContext(): Context<IAnnotationsContext | null>;

Creates a React context for managing annotations with optional type safety.

Returns

Context<IAnnotationsContext | null>

A context for annotation-related state and operations that can be null