cefc-ui-nav
v0.0.6
Published
CEFC-UI Component
Downloads
4
Keywords
Readme
Nav
###Nav
|属性 |说明 | 类型 | 默认值 |
|-------------|--------------------|------------------|----------------------|
|prefixCls |样式前缀,如:cefc-nav
,可用于自定义样式| String | cefc-nav |
|navMenu |用来配置NavBar的对象数组,如navMenu: [{ name: '买入', path: '/' },{ name: '卖出', path: '' },{ name: '撤单', path: '' },{ name: '今日委托', path: '' }]
| Array | 无|
|className|外部传入类|string|无|
###如何使用
const navMenu = [{ name: '买入', path: '/' },{ name: '卖出', path: '' },{ name: '撤单', path: '' },{ name: '今日委托', path: '' }]
<Nav navMenu={navMenu} />