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`.

14 lines (13 loc) 440 B
/** * Copyright (c) @talatkuyuk AKA @ipikuka * SPDX-License-Identifier: MPL-2.0 */ import type { MDXClientAsyncProps } from "./types.js"; /** * it is experimental * * renders the content on the client side (csr), which is provided by the "hydrateAsync" function. * * the content is going to be hydrated "asynchronously" in a useEffect hook. */ export declare function MDXClientAsync(props: MDXClientAsyncProps): React.JSX.Element;