Skip to content

@gtkx/react / GridChildProps

Type Alias: GridChildProps

GridChildProps = object

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

Props for positioning children within a GtkGrid.

Used by GtkGrid.Child compound component.

Properties

children?

optional children?: ReactNode

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

Content to place in the grid cell


column?

optional column?: number

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

Column index (0-based)


columnSpan?

optional columnSpan?: number

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

Number of columns to span


row?

optional row?: number

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

Row index (0-based)


rowSpan?

optional rowSpan?: number

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

Number of rows to span