'use client'; import clsx from 'clsx'; import { Tab as HTab } from '@headlessui/react'; import { Fragment } from 'react'; export function Tabs({ items, children }) { return ( {items.map((item, i) => ( {({ selected }) =>
{item}
}
))}
{children}
); } export function Tab({ children }) { return {children}; }