API Reference

GridProps

interface

Full props for the Grid component.

Defined in package/src/types.ts:624

Renders as <table> by default. Use the render prop to override.

PropTypeDefaultDescription
renderReactElement | ((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.
orientationGridOrientation"horizontal"Layout direction for keyboard navigation.
autoFocusbooleanWhen true, the grid auto-focuses the tab-target cell on mount.
monthIndexnumber0Which visible month this grid displays (0-based).