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) 643 B
import { As, Options, Props } from "ariakit-utils/types"; import { CalendarCellState } from "./calendar-cell-state"; export declare const useCalendarCellButton: import("ariakit-utils").Hook<CalendarCellButtonOptions<"span">>; export declare const CalendarCellButton: import("ariakit-utils").Component<CalendarCellButtonOptions<"span">>; export declare type CalendarCellButtonOptions<T extends As = "span"> = Options<T> & { /** * Object returned by the `useCalendarCellButtonState` hook. */ state: CalendarCellState; }; export declare type CalendarCellButtonProps<T extends As = "span"> = Props<CalendarCellButtonOptions<T>>;