const isActiveTab = (currentTab, activeTab) => currentTab === activeTab ? "border-t" : ""; const Tab = ({ activeTab, setActiveTab }) => (