Ant Design Style Dumi ThemeAnt Design Style Dumi Theme
Guide
Components
Config
Changelog
⌘ K

Table of Contents

Demo
API
AnchorItem
Overview
Functional Components
Highlighter Syntax Highlighter
ApiHeader Reference
Layout
Footer
Table of Contents
Styled Components
Features
Stylized Components
Hero Header
Others
DumiSiteProvider Theme Container

Table of Contents

Page directory component
引入方法
js
import { Toc } from 'dumi-theme-antd-style';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
查看源码
编辑文档
PREV
Footer
NEXT
Features

相关资源

Ant Design
Ant Design Pro
Ant Design Pro Components
Umi-React 应用开发框架
Dumi-组件/文档研发工具
qiankun-微前端框架

社区

Medium
Twitter
yuqueAnt Design 语雀专栏
Ant Design 知乎专栏
体验科技专栏
seeconfSEE Conf-SEE Conf-蚂蚁体验科技大会

帮助

GitHub
更新日志
讨论

more products更多产品

yuque语雀-知识创作与分享工具
AntVAntV-数据可视化解决方案
EggEgg-企业级 Node.js 框架
kitchenKitchen-Sketch 工具集
xtech蚂蚁体验科技
Copyright © 2022-2024
Made with ❤️ by 蚂蚁集团 - AFX & 数字科技
‌
‌
‌
‌
INFO

It can only be used normally when wrapped in DumiSiteProvider.

Demo

API

NameTypeDescription
itemsAnchorItem[]List of directory items
activeKeystringThe key value of the currently active directory item
onChange(activeKey: string) => voidCallback function for switching directory items, with the parameter being the key value of the switched directory item

AnchorItem

NameTypeDescription
idstringThe id of the directory item
titlestringThe title of the directory item
childrenAnchorItem[]List of child directory items