Skip to content

Commit b2e59e3

Browse files
samejr0ski
authored andcommitted
Remove unused component
1 parent e980fb2 commit b2e59e3

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

apps/webapp/app/components/primitives/ClientTabs.tsx

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -63,37 +63,4 @@ export type TabsProps = {
6363
layoutId: string;
6464
};
6565

66-
export function ClientTabsWithUnderline({ className, tabs, currentValue, layoutId }: TabsProps) {
67-
return (
68-
<TabsPrimitive.List
69-
className={cn(`flex flex-row gap-x-6 border-b border-charcoal-700`, className)}
70-
>
71-
{tabs.map((tab, index) => {
72-
const isActive = currentValue === tab.value;
73-
return (
74-
<TabsPrimitive.Trigger
75-
key={tab.value}
76-
value={tab.value}
77-
className={cn(`group flex flex-col items-center`, className)}
78-
>
79-
<span
80-
className={cn(
81-
"text-sm transition duration-200",
82-
isActive ? "text-indigo-500" : "text-charcoal-200"
83-
)}
84-
>
85-
{tab.label}
86-
</span>
87-
{isActive ? (
88-
<motion.div layoutId={layoutId} className="mt-1 h-0.5 w-full bg-indigo-500" />
89-
) : (
90-
<div className="mt-1 h-0.5 w-full bg-charcoal-500 opacity-0 transition duration-200 group-hover:opacity-100" />
91-
)}
92-
</TabsPrimitive.Trigger>
93-
);
94-
})}
95-
</TabsPrimitive.List>
96-
);
97-
}
98-
9966
export { ClientTabs, ClientTabsList, ClientTabsTrigger, ClientTabsContent };

0 commit comments

Comments
 (0)