jb-date-input
Version:
jalali date input web component
19 lines • 678 B
TypeScript
import { JBDictionary } from 'jb-core/i18n';
export type JBDateInputDictionary = {
minRangeViolation: string;
maxRangeViolation: string;
required: string;
};
/**
* dictionary of jb date input 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-date-input'
* dictionary.setLanguage("fr", {
* requireMessage: (label:string| null)=>`${label} french require message`,
* // other dictionary keys
* });
* ```
*/
export declare const dictionary: JBDictionary<JBDateInputDictionary>;
//# sourceMappingURL=i18n.d.ts.map