@mantine/dates
Version:
Calendars, date and time pickers based on Mantine components
9 lines (8 loc) • 368 B
TypeScript
import type { TimePickerAmPmLabels, TimePickerFormat } from '../../TimePicker';
export interface GetFormattedTimeInput {
value: string | Date;
format: TimePickerFormat;
amPmLabels: TimePickerAmPmLabels;
withSeconds: boolean;
}
export declare function getFormattedTime({ value, format, amPmLabels, withSeconds, }: GetFormattedTimeInput): string | null;