react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
5 lines • 455 B
TypeScript
import { type DictionaryKeys, type Plugins } from '@intlayer/core';
import type { IntlayerDictionaryTypesConnector, LocalesValues } from 'intlayer';
import { type DeepTransformContent } from './plugins';
export declare const getIntlayer: <T extends DictionaryKeys, L extends LocalesValues>(key: T, locale?: L, additionalPlugins?: Plugins[]) => DeepTransformContent<IntlayerDictionaryTypesConnector[T]["content"]>;
//# sourceMappingURL=getIntlayer.d.ts.map