type TabsProps = { options: readonly T[]; active: T; onChange: (value: T) => void; }; export default function Tabs({ options, active, onChange }: TabsProps) { return (
{options.map((option) => ( ))}
); }