mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-02-12 00:00:21 +08:00
19 lines
364 B
TypeScript
19 lines
364 B
TypeScript
import type { DefaultTheme } from 'vitepress'
|
|
|
|
const componentsDir = `/components/`
|
|
|
|
export const getSidebar = (): DefaultTheme.Sidebar => {
|
|
return {
|
|
'/components/': [
|
|
{
|
|
text: 'Button',
|
|
link: `${componentsDir}button/`
|
|
},
|
|
{
|
|
text: 'ConfigProvider',
|
|
link: `${componentsDir}config-provider/`
|
|
}
|
|
]
|
|
}
|
|
}
|