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

# ExtendDecoratorSchemaType

> **ExtendDecoratorSchemaType** = (`decorator`) => [`ToolbarDecoratorSchemaType`](/api/toolbar/type-aliases/toolbardecoratorschematype/)

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

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

## Parameters

### decorator

`DecoratorSchemaType`

## Returns

[`ToolbarDecoratorSchemaType`](/api/toolbar/type-aliases/toolbardecoratorschematype/)