API Reference
MonthViewStableContextValue
interfaceStable values (config + callbacks) provided by MonthView.Root.
Defined in package/src/month-view-types.ts:56
| Prop | Type | Default | Description |
|---|---|---|---|
| numberOfMonths* | number | — | Number of simultaneously visible months. |
| fixedWeeks* | boolean | — | Whether month grids always render 6 week rows. |
| outsideDays* | OutsideDays | — | How outside-month days are displayed. |
| overflowBehavior* | MonthOverflowBehavior | — | How month navigation behaves at bounds. |
| goNextMonth* | () => void | — | Navigate to the next month(s). |
| goPrevMonth* | () => void | — | Navigate to the previous month(s). |
| setGridLabelId* | (monthIndex: number, id: string | undefined) => void | — | Register (or clear) the id of a label element for aria-labelledby, keyed by month index. |
| gridFocusedRef* | React.RefObject<boolean> | — | Ref tracking whether the grid currently holds DOM focus (avoids state re-renders). |