import { useGlobal } from '@/lib/global' import { useGitBookGlobal } from '@/themes/gitbook' /** * 移动端目录按钮 */ export default function MobileButtonCatalog() { const { tocVisible, changeTocVisible } = useGitBookGlobal() const { locale } = useGlobal() const toggleToc = () => { changeTocVisible(!tocVisible) } return (
{locale.COMMON.TABLE_OF_CONTENTS}
) }