Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inlineCode reference #34817

Merged
merged 1 commit into from Feb 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/advanced-features/using-mdx.md
Expand Up @@ -178,7 +178,7 @@ Then setup the provider in your page

import { MDXProvider } from '@mdx-js/react'
import Image from 'next/image'
import { Heading, Text, Pre, Code, Table } from 'my-components'
import { Heading, InlineCode, Pre, Table, Text } from 'my-components'

const ResponsiveImage = (props) => (
<Image alt={props.alt} layout="responsive" {...props} />
Expand All @@ -189,8 +189,8 @@ const components = {
h1: Heading.H1,
h2: Heading.H2,
p: Text,
code: Pre,
inlineCode: Code,
pre: Pre,
code: InlineCode,
}

export default function Post(props) {
Expand Down