react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
19 lines (18 loc) • 576 B
TypeScript
import { FC } from "react";
import { KeyPath, Locale } from "@intlayer/types";
//#region src/editor/useEditedContentRenderer.d.ts
type EditedContentRendererProps = {
dictionaryKey: string;
keyPath: KeyPath[];
children: string;
locale?: Locale;
};
declare const useEditedContentRenderer: ({
dictionaryKey,
keyPath,
children
}: EditedContentRendererProps) => string;
declare const EditedContentRenderer: FC<EditedContentRendererProps>;
//#endregion
export { EditedContentRenderer, useEditedContentRenderer };
//# sourceMappingURL=useEditedContentRenderer.d.ts.map