import { Tab } from "@headlessui/react"; // helpers import { cn } from "helpers/common.helper"; // constants import { ISSUES_TABS_LIST } from "constants/dashboard"; export const TabsList = () => ( {ISSUES_TABS_LIST.map((tab) => ( cn("font-semibold text-xs rounded py-1.5 focus:outline-none", { "bg-custom-background-100 text-custom-text-300 shadow-[2px_0_8px_rgba(167,169,174,0.15)]": selected, "text-custom-text-400": !selected, }) } > {tab.label} ))} );