react-nepali-datepicker-bs
Version:
Nepali Datepicker (Bikram Sambat) as a ReactJS component
17 lines (16 loc) • 534 B
TypeScript
import { TDateFormatOptions, TDateSeparator, TLocaleType, Themes, WeekDayLabelSize } from "../Types";
export declare const SET_CONFIG: string;
export interface ConfigState {
currentLocale: TLocaleType;
minYear: number;
maxYear: number;
theme?: Themes;
weekDayLabelSize?: WeekDayLabelSize;
formatOptions?: TDateFormatOptions<TDateSeparator>;
}
export declare type ConfigValue = TLocaleType;
export interface ConfigAction {
type: typeof SET_CONFIG;
key: string;
value: ConfigValue;
}