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:
Joshua Chen 2022-03-26 21:05:48 +08:00 committed by GitHub
parent 45b7a1b7c8
commit cb03764ce5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 154 additions and 115 deletions

View file

@ -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,