UNPKG

@renderlesskit/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

28 lines (27 loc) 1.72 kB
/// <reference types="react" /> import { RoleHTMLProps, RoleOptions } from "reakit"; import { CalendarStateReturn } from "./CalendarState"; export declare const useCalendarWeekTitle: { (options?: CalendarWeekTitleOptions | undefined, htmlProps?: RoleHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): RoleHTMLProps; unstable_propsAreEqual: (prev: RoleOptions & Pick<CalendarStateReturn, "weekDays"> & { dayIndex: number; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: RoleOptions & Pick<CalendarStateReturn, "weekDays"> & { dayIndex: number; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }) => boolean; __keys: readonly any[]; __useOptions: (options: CalendarWeekTitleOptions, htmlProps: RoleHTMLProps) => CalendarWeekTitleOptions; }; export declare const CalendarWeekTitle: import("../system").Component<"div", RoleOptions & Pick<CalendarStateReturn, "weekDays"> & { dayIndex: number; } & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }>; export declare type CalendarWeekTitleOptions = RoleOptions & Pick<CalendarStateReturn, "weekDays"> & { dayIndex: number; }; export declare type CalendarWeekTitleHTMLProps = RoleHTMLProps; export declare type CalendarWeekTitleProps = CalendarWeekTitleOptions & CalendarWeekTitleHTMLProps;