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

13 lines (12 loc) 720 B
import { As, Options, Props } from "ariakit-utils/types"; import { CalendarState } from "./calendar-state"; import { RangeCalendarState } from "./range-calendar-state"; export declare const useCalendarNextButton: import("ariakit-utils").Hook<CalendarNextButtonOptions<"button">>; export declare const CalendarNextButton: import("ariakit-utils").Component<CalendarNextButtonOptions<"button">>; export declare type CalendarNextButtonOptions<T extends As = "button"> = Options<T> & { /** * Object returned by the `useCalendarNextButtonState` hook. */ state: CalendarState | RangeCalendarState; }; export declare type CalendarNextButtonProps<T extends As = "button"> = Props<CalendarNextButtonOptions<T>>;