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) 599 B
import { As, Options, Props } from "ariakit-utils/types"; import { CalendarCellState } from "./calendar-cell-state"; export declare const useCalendarCell: import("ariakit-utils/types").Hook<CalendarCellOptions<"td">>; export declare const CalendarCell: import("ariakit-utils/types").Component<CalendarCellOptions<"td">>; export declare type CalendarCellOptions<T extends As = "td"> = Options<T> & { /** * Object returned by the `useCalendarCellState` hook. */ state: CalendarCellState; }; export declare type CalendarCellProps<T extends As = "td"> = Props<CalendarCellOptions<T>>;