mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
refactor(theme): extract plumbing code of BTT button into theme-common (#7021)
* refactor(theme): extract plumbing code of BTT button into theme-common * oops
This commit is contained in:
parent
45b7a1b7c8
commit
cb03764ce5
5 changed files with 154 additions and 115 deletions
|
@ -106,6 +106,7 @@ export {
|
|||
useScrollController,
|
||||
useScrollPosition,
|
||||
useScrollPositionBlocker,
|
||||
useSmoothScrollTo,
|
||||
} from './utils/scrollUtils';
|
||||
|
||||
export {
|
||||
|
@ -145,6 +146,7 @@ export {
|
|||
type NavbarSecondaryMenuComponent,
|
||||
} from './contexts/navbarSecondaryMenu';
|
||||
|
||||
export {useBackToTopButton} from './hooks/useBackToTopButton';
|
||||
export {useHideableNavbar} from './hooks/useHideableNavbar';
|
||||
export {
|
||||
useKeyboardNavigation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue