Skip to content

@gtkx/react / SlotProps

Type Alias: SlotProps

SlotProps = object

Defined in: packages/react/src/jsx.ts:329

Props for slot-based child positioning.

Used internally by compound components with slot props (e.g. titleWidget on AdwHeaderBar).

Properties

children?

optional children?: ReactNode

Defined in: packages/react/src/jsx.ts:333

Content to place in the slot


id?

optional id?: string

Defined in: packages/react/src/jsx.ts:331

The slot identifier