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.
15 lines
394 B
15 lines
394 B
import React from 'react';
|
|
import { IconCode } from '@douyinfe/semi-icons';
|
|
|
|
export function getNavItem (user, dispatch) {
|
|
return (
|
|
[
|
|
{
|
|
itemKey: 'example', text: '举个栗子', icon: <IconCode />,
|
|
items: [
|
|
{ itemKey: 'e1', to: '/example/e1', text: '举个棒子' },
|
|
]
|
|
},
|
|
]
|
|
);
|
|
}
|