@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) • 558 B
TypeScript
import { As, Options, Props } from "ariakit-utils/types";
import { CalendarState } from "./calendar-state";
export declare const useCalendar: import("ariakit-utils/types").Hook<CalendarOptions<"div">>;
export declare const Calendar: import("ariakit-utils/types").Component<CalendarOptions<"div">>;
export declare type CalendarOptions<T extends As = "div"> = Options<T> & {
/**
* Object returned by the `useCalendarState` hook.
*/
state: CalendarState;
};
export declare type CalendarProps<T extends As = "div"> = Props<CalendarOptions<T>>;