Skip to content

Commit aa8a976

Browse files
authored
docs: Add missing useMDXComponents import (#2370)
1 parent cdbff73 commit aa8a976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/src/pages/mdx/styling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ of MDX pages, or at the root level of your project, such as in `pages/_app.js`
1414
for Next.js.
1515

1616
```jsx
17-
import { MDXProvider } from '@mdx-js/react'
17+
import { MDXProvider, useMDXComponents } from '@mdx-js/react'
1818
import { useThemedStylesWithMdx } from '@theme-ui/mdx'
1919
import { ThemeProvider } from 'theme-ui'
2020

0 commit comments

Comments
 (0)