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: '举个棒子' },
                ]
            },
        ]
    );
}