Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Oct 18, 2024
1 parent 950c21e commit c1fd329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nextra/src/client/mdx.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { useMDXComponents as originalUseMDXComponents } from '@mdx-js/react'
import type { MDXComponents } from '@mdx-js/react/lib'
import Image, { type ImageProps } from 'next/image'
import { createElement } from 'react'

type MDXComponents = ReturnType<typeof originalUseMDXComponents>

const DEFAULT_COMPONENTS = {
img: props =>
createElement(
Expand Down

0 comments on commit c1fd329

Please sign in to comment.