import clsx from 'clsx'; import Link from 'next/link'; import type { UrlObject } from 'url'; export type TabItem = Readonly<{ href?: UrlObject | string; label: string; value: T; }>; type Props = Readonly<{ label: string; onChange?: (value: T) => void; tabs: ReadonlyArray>; value: T; }>; export default function Tabs({ label, tabs, value, onChange }: Props) { return (
); }