Overview
Rows/columns-based layout helper.Import
Usage
Live Preview
Run Locally
npm run tsx:core-gallery
Props
- columns: number — Number of columns.
- rows: number — Number of rows.
- gap?: number — Spacing between cells.
- autoSize?: boolean — Reserved; manual layout by default.
- BaseProps: container styling/layout.
Methods
- setDimensions(cols, rows), setGap(n).
- addChildAt(child, c, r), removeChild(child), getChildAt(c, r).
- reflow().
Installation
Import
Quick Start
Production Examples
Testing
Best Practices
- Mantieni
width/heightespliciti sul Grid per calcoli di cella affidabili.
