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

Table of Contents

API Header Configuration
Default Usage
FrontMatter Configuration
Component Usage
Introduction
Introduction
Progress
Advanced Features
Theme
Features
Builtin Theme Components
Code Highlighting
Demo Development
ApiHeader
Page Tab
Table of Contents (TOC)

ApiHeader

ApiHeader clearly presents the basic usage of an API along with the API's documentation and source code URLs, enabling users to quickly understand how to use the API.
引入方法
js
import { Button } from 'antd';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
查看源码
编辑文档
PREV
Demo Development
NEXT
Page Tab

相关资源

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 & 数字科技
‌
‌
‌
‌

ApiHeader

This component provides an apiHeader configuration option for setting the documentation and source code URLs.

API Header Configuration

Default Usage

To enable this feature, add the apiHeader configuration option to themeConfig.

See Advanced Configuration - apiHeader for detailed configuration options.

FrontMatter Configuration

For specific documentation configurations, such as monorepo or special file sections, add the apiHeader metadata tag to the markdown front matter to declare the component.

md

Component Usage

See API document for more details: ApiHeader