import { Lightning, Wrench } from '@phosphor-icons/react' import { Badge, ActionButton, Flex, Heading, IconText } from '@/components/atoms' interface ErrorPanelHeaderProps { title: string scanLabel: string scanningLabel: string repairAllLabel: string repairingLabel: string errorCount: number warningCount: number errorLabel: string errorsLabel: string warningLabel: string warningsLabel: string isScanning: boolean isRepairing: boolean onScan: () => void onRepairAll: () => void } export function ErrorPanelHeader({ title, scanLabel, scanningLabel, repairAllLabel, repairingLabel, errorCount, warningCount, errorLabel, errorsLabel, warningLabel, warningsLabel, isScanning, isRepairing, onScan, onRepairAll, }: ErrorPanelHeaderProps) { return (