import React from 'react'; import { Layout, Menu } from 'antd'; import { HomeOutlined, BarChartOutlined, AlertOutlined, SettingOutlined } from '@ant-design/icons'; const { Sider: AntSider } = Layout; const Sider = ({ collapsed, theme, currentMenu, onMenuSelect }) => { return (
{!collapsed && '功能导航'}
onMenuSelect(key)} style={{ height: '100%', borderRight: 0, background: theme === 'light' ? '#fff' : '#1f1f1f' }} theme={theme} > }> 市场概览 }> 详情分析 }> 风控管理 }> 配置管理
); }; export default Sider;