import { useState } from "react"; import { cn } from "@/lib/utils"; export function Tabs({ defaultValue, children, className, }: { defaultValue: string; children: (active: string, setActive: (v: string) => void) => React.ReactNode; className?: string; }) { const [active, setActive] = useState(defaultValue); return