Skip to content
This page is available as Markdown at /api/toolbar/functions/usedecoratorbutton.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

useDecoratorButton

useDecoratorButton(props): DecoratorButton

Defined in: toolbar/src/use-decorator-button.ts:180

Manages the state, keyboard shortcuts and available events for a decorator button and sets up mutually exclusive decorator behaviors.

ToolbarDecoratorSchemaType

DecoratorButton