jb-image-input
Version:
image input web component
22 lines • 750 B
TypeScript
import { JBDictionary } from 'jb-core/i18n';
export type JBImageInputDictionary = {
requiredMessage: string;
maxSizeExceed: (maxSize: string, fileSize: string) => string;
chooseImage: string;
reselectImage: string;
uploading: string;
preparing: string;
};
/**
* dictionary of jb image 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-image-input'
* dictionary.setLanguage("fr", {
* requiredMessage: "message in french",
* // other dictionary keys
* });
* ```
*/
export declare const dictionary: JBDictionary<JBImageInputDictionary>;
//# sourceMappingURL=i18n.d.ts.map