import { cn } from '@/lib/cn' export interface TabDef { key: string label: string } interface Props { tabs: TabDef[] active: string onChange: (key: string) => void } export function Tabs({ tabs, active, onChange }: Props) { return (
{tabs.map((t) => ( ))}
) }