import { clsx } from "clsx"; import React from "react"; interface Tab { id: string; label: string; badge?: number; } interface TabsProps { tabs: Tab[]; activeTab: string; onChange: (id: string) => void; className?: string; } export default function Tabs({ tabs, activeTab, onChange, className, }: TabsProps) { return (
{tabs.map((tab) => ( ))}
); }