import { Badge, Button, Input, Nav, Space, Tag, Typography } from '@douyinfe/semi-ui';
import {
IconActivity,
IconBarChartHStroked,
IconHistogram,
IconHome,
IconMapPin,
IconSearch,
IconServer,
IconSetting
} from '@douyinfe/semi-icons';
import type { ReactNode } from 'react';
export type PageKey = 'dashboard' | 'vehicles' | 'realtime' | 'detail' | 'history' | 'mileage' | 'quality';
const navItems = [
{ itemKey: 'dashboard', text: '总览工作台', icon: },
{ itemKey: 'vehicles', text: '车辆台账', icon: },
{ itemKey: 'realtime', text: '实时状态', icon: },
{ itemKey: 'detail', text: '车辆详情', icon: },
{ itemKey: 'history', text: '历史查询', icon: },
{ itemKey: 'mileage', text: '里程分析', icon: },
{ itemKey: 'quality', text: '数据质量', icon: }
];
export function AppShell({
activePage,
onChange,
children
}: {
activePage: PageKey;
onChange: (page: PageKey) => void;
children: ReactNode;
}) {
return (
{children}
);
}