UNPKG

@kbfront/kb-ui

Version:

KB React UI Library

12 lines (11 loc) 441 B
export declare const defaultLang = "az"; export declare const supportedLangs: string[]; export declare type TLang = 'az' | 'en' | string; interface ITranslationParam { [key: string]: string; } export declare let lang: TLang; export declare const translationInit: () => Promise<void>; export declare const changeLang: (lng?: string) => void; export declare const translate: (value?: string, params?: ITranslationParam) => any; export {};