@vurilo/nepali-date-picker
Version:
Nepali Calendars, date and time pickers based on Mantine components
14 lines (13 loc) • 493 B
TypeScript
import { DayOfWeek } from '../../types';
export declare function useDatesContext(): {
getLocale: (input?: string) => string;
getTimezone: (input?: string) => string | undefined;
getFirstDayOfWeek: (input?: DayOfWeek) => DayOfWeek;
getWeekendDays: (input?: DayOfWeek[]) => DayOfWeek[];
getLabelSeparator: (input?: string) => string;
locale: string;
timezone: string | null;
firstDayOfWeek: DayOfWeek;
weekendDays: DayOfWeek[];
labelSeparator: string;
};