@@ -409,7 +409,7 @@ type EvaluateProps<TScope> = {
409
409
410
410
``` typescript
411
411
type EvaluateResult <TFrontmatter , TScope > = {
412
- content: JSX .Element ;
412
+ content: React . JSX .Element ;
413
413
mod: Record <string , unknown >;
414
414
frontmatter: TFrontmatter ;
415
415
scope: TScope ;
@@ -700,10 +700,10 @@ _Go to the [evaluate](#the-evaluate-function) function_
700
700
The ` MDXRemote ` component is used for rendering the MDX content on the server side. It is a react server component.
701
701
702
702
``` typescript
703
- async function MDXRemote(props : MDXRemoteProps ): Promise <JSX .Element > {}
703
+ async function MDXRemote(props : MDXRemoteProps ): Promise <React . JSX .Element > {}
704
704
```
705
705
706
- The ` MDXRemote ` component takes ` MDXRemoteProps ` and returns ` JSX.Element ` as a promise.
706
+ The ` MDXRemote ` component takes ` MDXRemoteProps ` and returns ` React. JSX.Element` as a promise.
707
707
708
708
** Props of the ` MDXRemote ` component**
709
709
@@ -1202,7 +1202,7 @@ The option `disableParentContext` is a feature of `@mdx-js/mdx`. If it is `false
1202
1202
1203
1203
``` typescript
1204
1204
type HydrateResult = {
1205
- content: JSX .Element ;
1205
+ content: React . JSX .Element ;
1206
1206
mod: Record <string , unknown >;
1207
1207
error? : Error ;
1208
1208
};
@@ -1274,10 +1274,10 @@ import { MDXClient } from "next-mdx-remote-client/csr";
1274
1274
The ` MDXClient ` component is used for rendering the MDX content on the client side.
1275
1275
1276
1276
``` typescript
1277
- function MDXClient(props : MDXClientProps ): JSX .Element {}
1277
+ function MDXClient(props : MDXClientProps ): React . JSX .Element {}
1278
1278
```
1279
1279
1280
- The ` MDXClient ` component takes ` MDXClientProps ` and returns ` JSX.Element ` . The ` MDXClient ` has no "options" parameter like ` hydrate ` .
1280
+ The ` MDXClient ` component takes ` MDXClientProps ` and returns ` React. JSX.Element` . The ` MDXClient ` has no "options" parameter like ` hydrate ` .
1281
1281
1282
1282
** Props of the ` MDXClient ` component**
1283
1283
@@ -1543,7 +1543,6 @@ In addition, the package exports the types from `mdx/types` so that developers d
1543
1543
- ` MDXContent `
1544
1544
- ` MDXProps `
1545
1545
- ` MDXModule `
1546
- - ` Element `
1547
1546
1548
1547
## Compatibility
1549
1548
0 commit comments