mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
docs: fix import module name of theme/Admonition (#6164)
This commit is contained in:
parent
8791fd65af
commit
5dcfa8fa23
2 changed files with 8 additions and 8 deletions
|
@ -83,8 +83,8 @@ Hello world
|
|||
:::
|
||||
|
||||
<!-- Prettier changes this -->
|
||||
::: note
|
||||
Hello world
|
||||
::: note
|
||||
Hello world
|
||||
:::
|
||||
|
||||
<!-- to this -->
|
||||
|
@ -146,10 +146,10 @@ import TabItem from '@theme/TabItem';
|
|||
|
||||
## Usage in JSX
|
||||
|
||||
Outside of Markdown, you can use the `@theme/Admonitions` component to get the same output.
|
||||
Outside of Markdown, you can use the `@theme/Admonition` component to get the same output.
|
||||
|
||||
```jsx title="MyReactPage.jsx"
|
||||
import Admonition from '@theme/Admonitions';
|
||||
import Admonition from '@theme/Admonition';
|
||||
|
||||
export default function MyReactPage() {
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue