Skip to content

Commit 634ca5d

Browse files
committed
fix(jsx): use JSX types instead of React's
1 parent 1fb1cf5 commit 634ca5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ type MDXExport<
247247
ExportObject extends {},
248248
Frontmatter = {[key: string]: unknown},
249249
> = {
250-
default: React.FunctionComponent<MDXContentProps>
250+
default: (props: MDXContentProps) => JSX.Element,
251251
frontmatter: Frontmatter
252252
} & ExportObject
253253

0 commit comments

Comments
 (0)