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

# DecorationRenderProps

Defined in: packages/editor/src/types/editor.ts:202

Props passed to a `Decoration`'s `render`.

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

## Properties

### children

> **children**: `ReactNode`

Defined in: packages/editor/src/types/editor.ts:203

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

***

### isFirst

> **isFirst**: `boolean`

Defined in: packages/editor/src/types/editor.ts:209

`true` for the fragment that contains the decoration's start point.
A collapsed decoration's single fragment is both `isFirst` and
`isLast`. Unique per decoration, so one-time chrome renders once.

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

***

### isLast

> **isLast**: `boolean`

Defined in: packages/editor/src/types/editor.ts:215

`true` for the fragment that contains the decoration's end point. A
collapsed decoration's single fragment is both `isFirst` and
`isLast`. Unique per decoration, so one-time chrome renders once.

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