UNPKG

@edgex-web/components

Version:

EdgeX Universal UI Components Library - Reusable React components for deposit, withdraw and other common UI patterns

16 lines (15 loc) 870 B
import { default as zhCN, TranslationKeys } from './zh-CN'; import { default as enUS } from './en-US'; import { default as jaJP } from './ja-JP'; import { default as ruRU } from './ru-RU'; import { default as zhTW } from './zh-TW'; export declare const SUPPORTED_LOCALES: readonly ["en-US", "ja-JP", "ru-RU", "zh-CN", "zh-TW"]; export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number]; export declare const localeResources: Record<SupportedLocale, TranslationKeys>; export declare const DEFAULT_LOCALE: SupportedLocale; export declare const LOCALE_NAMES: Record<SupportedLocale, string>; export declare const getLocaleResource: (locale: string) => TranslationKeys; export declare const isSupportedLocale: (locale: string) => locale is SupportedLocale; export { zhCN, enUS, jaJP, ruRU, zhTW }; export type { TranslationKeys }; //# sourceMappingURL=index.d.ts.map