Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
jackrabbit128 and Josh-Cena authored Oct 2, 2024
1 parent 1fc0265 commit b9edccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ This feature is experimental and might be subject to breaking API changes in the
## Importing Markdown {#importing-markdown}

You can use Markdown files as components and import them elsewhere, either in Markdown files or in React pages.
In the `import` statement, you can name the component anything you like but it must be capitalized.
Each MDX file default-exports its page content as a React component. In the `import` statement, you can default-import this component with any name, but it must be capitalized following React's naming rules.

By convention, using the **`_` filename prefix** will not create any doc page and means the Markdown file is a **"partial"**, to be imported by other files.

Expand Down

0 comments on commit b9edccc

Please sign in to comment.