import { forwardRef, type ReactNode } from 'react'; import { Link } from 'react-router-dom'; export interface NavTab { to: string; label: ReactNode; active: boolean } /** * Views of one thing that each have their own address (a run's Scenarios, Failures, Team, Report): links in a named * navigation bar, the current one marked with aria-current="page", styled as a segmented pill bar. Use this instead of * Tabs when a "tab" changes the URL: a tablist promises panels on the same page that screen readers can jump to. * `extra` sits at the end of the bar (a "More" menu). */ export const NavTabs = forwardRef( function NavTabs({ label, items, extra, className }, ref) { return ( ); }, );