"use client"; import { motion } from "framer-motion"; interface StatItemProps { label: string; value: number | string; } function StatItem({ label, value }: StatItemProps) { return (
{label} {value}
); } interface StatsPanelProps { title: string; comparisons: number; writes: number; stepLabel: string; stepIndex: number; stepCount: number; sortedLabel: string; sortedCount: number; total: number; } export default function StatsPanel({ title, comparisons, writes, stepLabel, stepIndex, stepCount, sortedLabel, sortedCount, total, }: StatsPanelProps) { return (

{title}

); }