API Reference
GridProps
interfaceFull props for the Grid component.
Defined in package/src/types.ts:624
Renders as <table> by default. Use the render prop to override.
| Prop | Type | Default | Description |
|---|---|---|---|
| render | ReactElement | ((props: HTMLProps<table>, state: GridState) => ReactElement) | — | Custom render function or element. Receives HTML props for <table> and component state. |
| mode | "grid" | — | Interaction mode. Currently only "grid" is supported. |
| orientation | GridOrientation | "horizontal" | Layout direction for keyboard navigation. |
| autoFocus | boolean | — | When true, the grid auto-focuses the tab-target cell on mount. |
| monthIndex | number | 0 | Which visible month this grid displays (0-based). |