Skip to content

Commit

Permalink
export use menu (#2810)
Browse files Browse the repository at this point in the history
* export use menu from contexts

* added changeset

* Update .changeset/loud-ties-swim.md

---------

Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>
  • Loading branch information
bkd705 and dimaMachina committed Mar 27, 2024
1 parent 217f708 commit b47880d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-ties-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'nextra-theme-docs': minor
---

export `useMenu` hook
4 changes: 4 additions & 0 deletions packages/nextra-theme-docs/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,7 @@ export {
ThemeSwitch,
LocaleSwitch
} from './components'

export {
useMenu
} from './contexts'

0 comments on commit b47880d

Please sign in to comment.