minishouyin/node_modules/rc-picker/lib/hooks/useLocale.d.ts
2025-11-12 11:35:57 +08: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;