tiny-vue_version0/examples/react-site/demos/webdoc/menus.js

44 lines
907 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 注意删除了useFor属性
// title,label增加英文版以应对将来的国际化功能
export const standaloneMenus = [
{
label: '组件总览',
key: 'overview',
},
];
export const docMenus = [
{
label: '使用指南',
labelEn: 'Guide', //***********
key: 'doc_use',
children: [
{
title: '背景简介',
titleEn: 'Introduce',
key: 'introduce',
},
],
},
];
//-------------------------------------------------------------------
export const cmpMenus = [
{
label: '表单选择',
labelEn: 'Form Selection',
key: 'cmp_formselect',
children: [
{ name: 'Button', nameCn: '按钮', key: 'button' }
]
},
{
'label': '提示组件',
'labelEn': 'Tips Components',
'key': 'cmp_tips_components',
'children': [
{ 'nameCn': '警告', 'name': 'Alert', 'key': 'alert' }
]
}
];