Skip to content

Commit

Permalink
feat: add badge option in sidebar.config.ts
Browse files Browse the repository at this point in the history
add badge option in sidebar.config.ts

re #122
  • Loading branch information
Tzz1194593491 committed Jul 31, 2024
1 parent 01b26fa commit f8c1591
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion site/sidebar.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ export default [
path: '/components/avatar',
component: () => import('tdesign-web-components/avatar/README.md'),
},
{
title: 'Badge 徽标',
name: 'badge',
path: '/components/badge',
component: () => import('tdesign-web-components/badge/README.md'),
},
{
title: 'Calendar 日历',
name: 'calendar',
Expand Down Expand Up @@ -241,7 +247,7 @@ export default [
type: 'component', // 组件文档
children: [
{
title: 'Alert 警告提示',
title: 'Badge 警告提示',
name: 'alert',
path: '/components/alert',
component: () => import('tdesign-web-components/alert/README.md'),
Expand Down

0 comments on commit f8c1591

Please sign in to comment.