UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

12 lines (11 loc) 611 B
import { As, Options, Props } from "ariakit-utils/types"; import { CalendarGridState } from "./calendar-grid-state"; export declare const useCalendarGrid: import("ariakit-utils/types").Hook<CalendarGridOptions<"table">>; export declare const CalendarGrid: import("ariakit-utils/types").Component<CalendarGridOptions<"table">>; export declare type CalendarGridOptions<T extends As = "table"> = Options<T> & { /** * Object returned by the `useCalendarGridState` hook. */ state: CalendarGridState; }; export declare type CalendarGridProps<T extends As = "table"> = Props<CalendarGridOptions<T>>;