Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
98227b27
Unverified
Commit
98227b27
authored
Nov 22, 2021
by
Ben Schwarz
Committed by
GitHub
Nov 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in MDX guide (#31709)
In this PR: - [x] Fixes a 1 character typo in the newly merged MDX guide
parent
b4699b86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
using-mdx.md
docs/advanced-features/using-mdx.md
+1
-1
No files found.
docs/advanced-features/using-mdx.md
View file @
98227b27
...
@@ -97,7 +97,7 @@ author: 'Rich Haines'
...
@@ -97,7 +97,7 @@ author: 'Rich Haines'
### Layouts
### Layouts
To add a layout to your MDX page, create a new component and import it into the MDX page. Then you can wrap the MD
x
page with your layout component:
To add a layout to your MDX page, create a new component and import it into the MDX page. Then you can wrap the MD
X
page with your layout component:
```
md
```
md
import { MyComponent, MyLayoutComponent } from 'my-components'
import { MyComponent, MyLayoutComponent } from 'my-components'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment