import { cx } from "./cx.ts"; export type TabItem = { label: string; active?: boolean; onSelect: () => void; }; export type TabsProps = { items: TabItem[]; class?: string; }; export function Tabs({ items, class: extra }: TabsProps) { return (
{items.map((t) => ( ))}
); }