react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
13 lines • 532 B
TypeScript
import { Locales } from '@intlayer/config/client';
import { type KeyPath } from '@intlayer/core';
import type { FC } from 'react';
type EditedContentRendererProps = {
dictionaryKey: string;
keyPath: KeyPath[];
children: string;
locale?: Locales;
};
export declare const useEditedContentRenderer: ({ dictionaryKey, keyPath, children, }: EditedContentRendererProps) => string;
export declare const EditedContentRenderer: FC<EditedContentRendererProps>;
export {};
//# sourceMappingURL=useEditedContentRenderer.d.ts.map