mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 17:50:56 +00:00
17 lines
680 B
TypeScript
17 lines
680 B
TypeScript
import { DayOfWeek } from '../../types';
|
|
export interface DatesProviderValue {
|
|
locale: string;
|
|
firstDayOfWeek: DayOfWeek;
|
|
weekendDays: DayOfWeek[];
|
|
labelSeparator: string;
|
|
consistentWeeks: boolean;
|
|
}
|
|
export type DatesProviderSettings = Partial<DatesProviderValue>;
|
|
export declare const DATES_PROVIDER_DEFAULT_SETTINGS: DatesProviderValue;
|
|
export declare const DatesProviderContext: import("react").Context<DatesProviderValue>;
|
|
export interface DatesProviderProps {
|
|
settings: DatesProviderSettings;
|
|
children?: React.ReactNode;
|
|
}
|
|
export declare function DatesProvider({ settings, children }: DatesProviderProps): import("react/jsx-runtime").JSX.Element;
|