Skip to content

Commit d21634d

Browse files
author
Dimitri POSTOLOV
authoredFeb 19, 2024
export getComponents (#2727)
1 parent 47fd5c7 commit d21634d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
 

‎.changeset/red-experts-press.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'nextra-theme-docs': patch
3+
---
4+
5+
export `getComponents`

‎packages/nextra-theme-docs/src/index.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ export default function Layout({
8686
)
8787
}
8888

89-
export { useThemeConfig, useConfig, PartialDocsThemeConfig as DocsThemeConfig }
89+
export {
90+
useThemeConfig,
91+
useConfig,
92+
PartialDocsThemeConfig as DocsThemeConfig,
93+
getComponents
94+
}
9095
export { useTheme } from 'next-themes'
9196
export { Link } from './mdx-components'
9297
export {

0 commit comments

Comments
 (0)
Please sign in to comment.