UNPKG

next-mdx-remote-client

Version:

A wrapper of the `@mdx-js/mdx` for the `nextjs` applications in order to load MDX content. It is a fork of `next-mdx-remote`.

15 lines 608 B
/** * Copyright (c) @talatkuyuk AKA @ipikuka * SPDX-License-Identifier: MPL-2.0 */ import "./idle-callback-polyfill.js"; import type { HydrateResult, HydrateProps } from "./types.js"; /** * "run"s the javascript code in the compiled source, and * returns the <Content /> component whether or not wrapped with the MDXProvider * in the domain of client side rendering (csr). * * the hydration process occurs lazily. */ export declare function hydrateLazy({ compiledSource, frontmatter, scope, components, disableParentContext, }: HydrateProps): HydrateResult; //# sourceMappingURL=hydrateLazy.d.ts.map