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) 594 B
import { As, Options, Props } from "ariakit-utils/types"; import { CalendarState } from "./calendar-state"; export declare const useCalendarTitle: import("ariakit-utils/types").Hook<CalendarTitleOptions<"h2">>; export declare const CalendarTitle: import("ariakit-utils/types").Component<CalendarTitleOptions<"h2">>; export declare type CalendarTitleOptions<T extends As = "h2"> = Options<T> & { /** * Object returned by the `useCalendarTitleState` hook. */ state: CalendarState; }; export declare type CalendarTitleProps<T extends As = "h2"> = Props<CalendarTitleOptions<T>>;