@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
13 lines (12 loc) • 752 B
TypeScript
import { As, Options, Props } from "ariakit-utils/types";
import { CalendarState } from "./calendar-state";
import { RangeCalendarState } from "./range-calendar-state";
export declare const useCalendarPreviousButton: import("ariakit-utils").Hook<CalendarPreviousButtonOptions<"button">>;
export declare const CalendarPreviousButton: import("ariakit-utils").Component<CalendarPreviousButtonOptions<"button">>;
export declare type CalendarPreviousButtonOptions<T extends As = "button"> = Options<T> & {
/**
* Object returned by the `useCalendarPreviousButtonState` hook.
*/
state: CalendarState | RangeCalendarState;
};
export declare type CalendarPreviousButtonProps<T extends As = "button"> = Props<CalendarPreviousButtonOptions<T>>;