jb-calendar
Version:
jalali calendar interface web component
23 lines • 779 B
TypeScript
import { JBDictionary } from 'jb-core/i18n';
export type JBCalendarDictionary = {
jalaliMonthList: string[];
gregorianMonthList: string[];
jalaliDayOfWeek: string[];
gregorianDayOfWeek: string[];
next: string;
prev: string;
showAllYear: string;
};
/**
* dictionary of jb calendar input. it's already loaded with persian and english lang but you can also extend it with you apps other language or replace already exist language
* @example
* ```js
* import {dictionary} from 'jb-calendar'
* dictionary.setLanguage("fr", {
* requireMessage: (label:string| null)=>`${label} french require message`,
* // other dictionary keys
* });
* ```
*/
export declare const dictionary: JBDictionary<JBCalendarDictionary>;
//# sourceMappingURL=i18n.d.ts.map