@vurilo/nepali-date-picker
Version:
Nepali Calendars, date and time pickers based on Mantine components
18 lines (17 loc) • 695 B
TypeScript
import React from 'react';
import { DayOfWeek } from '../../types';
export interface DatesProviderValue {
locale: string;
timezone: string | null;
firstDayOfWeek: DayOfWeek;
weekendDays: DayOfWeek[];
labelSeparator: string;
}
export type DatesProviderSettings = Partial<DatesProviderValue>;
export declare const DATES_PROVIDER_DEFAULT_SETTINGS: DatesProviderValue;
export declare const DatesProviderContext: React.Context<DatesProviderValue>;
export interface DatesProviderProps {
settings: DatesProviderSettings;
children: React.ReactNode;
}
export declare function DatesProvider({ settings, children }: DatesProviderProps): import("react/jsx-runtime").JSX.Element;