UNPKG

react-intlayer

Version:

Easily internationalize i18n your React applications with type-safe multilingual content management.

18 lines (17 loc) 572 B
import { HTMLComponents } from "./HTMLComponentTypes.js"; import { FC, PropsWithChildren } from "react"; //#region src/html/HTMLProvider.d.ts type HTMLContextValue = { components?: HTMLComponents<'permissive', {}>; }; type HTMLProviderProps = PropsWithChildren<{ /** * Component overrides for HTML tags. */ components?: HTMLComponents<'permissive', {}>; }>; declare const useHTMLContext: () => HTMLContextValue; declare const HTMLProvider: FC<HTMLProviderProps>; //#endregion export { HTMLProvider, useHTMLContext }; //# sourceMappingURL=HTMLProvider.d.ts.map