2024-08-20 23:25:37 +04:00

7 lines
466 B
TypeScript

import type { Locale, SharedTimeProps } from '../interface';
export declare function fillTimeFormat(showHour: boolean, showMinute: boolean, showSecond: boolean, showMillisecond: boolean, showMeridiem: boolean): string;
/**
* Fill locale format as start up
*/
export default function useLocale<DateType extends object>(locale: Locale, showProps: Pick<SharedTimeProps<DateType>, 'showHour' | 'showMinute' | 'showSecond' | 'showMillisecond' | 'use12Hours'>): Locale;