@nu-art/thunder
Version:
Thunder - React & Typescript based frontend framework
20 lines (19 loc) • 429 B
TypeScript
/**
* Created by tacb0ss on 27/07/2018.
*/
export declare type StringKey = string;
export declare type Locale = string;
export declare type LocaleDef = {
locale: Locale;
label: StringKey;
icon: string;
};
interface Locales {
[key: string]: LocaleDef;
}
export declare type LocalizationConfig = {
defaultLocale: Locale;
locales: Locales;
languages: Map<Locale, Map<StringKey, string>>;
};
export {};