mirror of
				https://github.com/antd-tiny-vue/antd-tiny-vue.git
				synced 2025-11-01 01:01:44 +08:00 
			
		
		
		
	feat: add info
This commit is contained in:
		| @@ -4,14 +4,44 @@ const componentsDir = `/components/` | ||||
|  | ||||
| export const getSidebar = (): DefaultTheme.Sidebar => { | ||||
|   return { | ||||
|     '/components/': [ | ||||
|     [componentsDir]: [ | ||||
|       { | ||||
|         text: 'Button', | ||||
|         link: `${componentsDir}button/` | ||||
|         text: 'General', | ||||
|         items: [ | ||||
|           { | ||||
|             text: 'Button', | ||||
|             link: `${componentsDir}button/` | ||||
|           } | ||||
|         ] | ||||
|       }, | ||||
|       { | ||||
|         text: 'ConfigProvider', | ||||
|         link: `${componentsDir}config-provider/` | ||||
|         text: 'Layout', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: 'Navigation', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: 'Data Entry', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: 'Data Display', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: 'Feedback', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: 'Other', | ||||
|         items: [ | ||||
|           { | ||||
|             text: 'ConfigProvider', | ||||
|             link: `${componentsDir}config-provider/` | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
|   | ||||
| @@ -3,14 +3,44 @@ const componentsDir = `/zh-CN/components/` | ||||
|  | ||||
| export const getSidebar = (): DefaultTheme.Sidebar => { | ||||
|   return { | ||||
|     '/zh-CN/components/': [ | ||||
|     [componentsDir]: [ | ||||
|       { | ||||
|         text: 'Button 按钮', | ||||
|         link: `${componentsDir}button/` | ||||
|         text: '通用', | ||||
|         items: [ | ||||
|           { | ||||
|             text: 'Button 按钮', | ||||
|             link: `${componentsDir}button/` | ||||
|           } | ||||
|         ] | ||||
|       }, | ||||
|       { | ||||
|         text: 'ConfigProvider', | ||||
|         link: `${componentsDir}config-provider/` | ||||
|         text: '布局', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: '导航', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: '数据入录', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: '数据展示', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: '反馈', | ||||
|         items: [] | ||||
|       }, | ||||
|       { | ||||
|         text: '其他', | ||||
|         items: [ | ||||
|           { | ||||
|             text: 'ConfigProvider', | ||||
|             link: `${componentsDir}config-provider/` | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ] | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user