( props: AriaCalendarProps<T, M>, state: CalendarState<M> )
| 27 | * A calendar displays one or more date grids and allows users to select a single date. |
| 28 | */ |
| 29 | export function useCalendar<T extends DateValue, M extends CalendarSelectionMode = 'single'>( |
| 30 | props: AriaCalendarProps<T, M>, |
| 31 | state: CalendarState<M> |
| 32 | ): CalendarAria { |
| 33 | return useCalendarBase(props, state); |
| 34 | } |
no test coverage detected