// REQ-USR-003: KPI 头条(标题 + 今日未处理/未清总数统计 + AI 占位按钮,复刻原型 .kpi-head)。 import { Button } from 'antd'; import { ThunderboltOutlined } from '@ant-design/icons'; import type { KPI_STATS } from './dashboardData'; import styles from './HomePage.module.css'; interface KpiHeadBarProps { stats: typeof KPI_STATS; } export default function KpiHeadBar({ stats }: KpiHeadBarProps) { return (
KPI监控 今日未处理: {stats.todayPending} | 未清总数: {stats.openTotal}
); }