UNPKG

pick-datetime-react

Version:
7 lines (6 loc) 455 B
export declare const convertTo24Hours: (time: string) => string; export declare const convertTo12Hours: (time: string) => string; export declare const getSlots: (gap?: number) => string[]; export declare const findNearestSlot: (hours: number, minutes: number, gap?: number) => string; export declare const timeIsEqual: (time1: string, time2: string) => boolean; export declare const sortSlots: (slotStartFrom: string, slotGap?: number) => string[];