Skip to content

Commit

Permalink
make useBackToTopButton internal
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jun 24, 2022
1 parent 9bdb56d commit bb151c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -8,7 +8,8 @@
import React from 'react';
import clsx from 'clsx';
import {translate} from '@docusaurus/Translate';
import {ThemeClassNames, useBackToTopButton} from '@docusaurus/theme-common';
import {ThemeClassNames} from '@docusaurus/theme-common';
import {useBackToTopButton} from '@docusaurus/theme-common/internal';

import styles from './styles.module.css';

Expand Down
2 changes: 0 additions & 2 deletions packages/docusaurus-theme-common/src/index.ts
Expand Up @@ -71,6 +71,4 @@ export {isRegexpStringMatch} from './utils/regexpUtils';

export {duplicates, uniq} from './utils/jsUtils';

export {useBackToTopButton} from './hooks/useBackToTopButton';

export {usePrismTheme} from './hooks/usePrismTheme';
1 change: 1 addition & 0 deletions packages/docusaurus-theme-common/src/internal.ts
Expand Up @@ -114,3 +114,4 @@ export {useSearchPage} from './hooks/useSearchPage';
export {useCodeWordWrap} from './hooks/useCodeWordWrap';
export {useSkipToContent} from './hooks/useSkipToContent';
export {getPrismCssVariables} from './utils/codeBlockUtils';
export {useBackToTopButton} from './hooks/useBackToTopButton';

0 comments on commit bb151c0

Please sign in to comment.