@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
9 lines (8 loc) • 411 B
TypeScript
import { RangeValue } from "@react-types/shared";
export declare function useWeekDays(weekStart: number): {
readonly title: string;
readonly abbr: string;
}[];
export declare function generateDaysInMonthArray(month: number, monthStartsAt: number, weeksInMonth: number, year: number): Date[][];
export declare function makeRange(start: Date, end: Date): RangeValue<Date>;
export * from "./useWeekStart";