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

16 lines (15 loc) 859 B
export declare function convertValue(value: Date | undefined): Date | undefined; export declare function getSegmentLimits(date: Date, type: string, options: Intl.ResolvedDateTimeFormatOptions): { value?: undefined; minValue?: undefined; maxValue?: undefined; } | { value: number; minValue: number; maxValue: number; }; export declare function add(value: Date, part: string, amount: number, options: Intl.ResolvedDateTimeFormatOptions): Date | undefined; export declare function cycleValue(value: number, amount: number, min: number, max: number, round?: boolean): number; export declare function setSegment(value: Date, part: string, segmentValue: number, options: Intl.ResolvedDateTimeFormatOptions): Date | undefined; export declare function parseNumber(str: string): number; export declare function isNumeric(str: string): boolean;