@mantine/dates
Version:
Calendars, date and time pickers based on Mantine components
16 lines (15 loc) • 498 B
TypeScript
import { TimePickerAmPmLabels, TimePickerFormat } from '../../TimePicker.types';
interface GetTimeStringInput {
hours: number | null;
minutes: number | null;
seconds: number | null;
format: TimePickerFormat;
withSeconds: boolean;
amPm: string | null;
amPmLabels: TimePickerAmPmLabels;
}
export declare function getTimeString({ hours, minutes, seconds, format, withSeconds, amPm, amPmLabels, }: GetTimeStringInput): {
valid: boolean;
value: string;
};
export {};