You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
498 B
17 lines
498 B
import React from 'react';
|
|
import { Link } from 'react-router-dom';
|
|
import { Menu } from 'antd';
|
|
import { SettingOutlined } from '@ant-design/icons';
|
|
|
|
const SubMenu = Menu.SubMenu;
|
|
|
|
export function getNavItem(user, dispatch) {
|
|
return (
|
|
// <SubMenu key="example2" icon={<SettingOutlined />} title={'举个栗子'}>
|
|
// <Menu.Item key="e1">
|
|
// <Link to="/example2/e1">举个棒子2</Link>
|
|
// </Menu.Item>
|
|
// </SubMenu>
|
|
<></>
|
|
);
|
|
}
|