react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
16 lines (14 loc) • 451 B
JavaScript
import { intlayerNodePlugins, markdownPlugin, reactNodePlugins } from "./plugins.mjs";
import { getIntlayer as getIntlayer$1 } from "@intlayer/core";
//#region src/getIntlayer.ts
const getIntlayer = (key, locale, additionalPlugins) => {
return getIntlayer$1(key, locale, [
intlayerNodePlugins,
reactNodePlugins,
markdownPlugin,
...additionalPlugins ?? []
]);
};
//#endregion
export { getIntlayer };
//# sourceMappingURL=getIntlayer.mjs.map