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

10 lines (9 loc) 333 B
/** * Copyright (c) @talatkuyuk AKA @ipikuka * SPDX-License-Identifier: MPL-2.0 */ import type { MDXRemoteProps } from "./types.js"; /** * renders the content as a react server component (rsc), which is provided by the "evaluate" function */ export declare function MDXRemote(props: MDXRemoteProps): Promise<React.JSX.Element>;