From 79c769ccb6b01d144acde539b14d15dc42f3e105 Mon Sep 17 00:00:00 2001 From: shayan khaleghparast Date: Fri, 19 Jan 2024 10:07:39 +0800 Subject: [PATCH] chore: added type to classNameVariants --- lib/components/Tabs/TabTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/Tabs/TabTitle.tsx b/lib/components/Tabs/TabTitle.tsx index ade06b13..92df34d8 100644 --- a/lib/components/Tabs/TabTitle.tsx +++ b/lib/components/Tabs/TabTitle.tsx @@ -17,7 +17,7 @@ const TabTitle = ({ icon, activeTab, isActive, setSelectedTab, title,className,v setSelectedTab(title); }, [setSelectedTab, activeTab]); - const classNameVariants = { + const classNameVariants: Record = { primary : `derivs-primary-tabs__btn--active`, secondary : `derivs-secondary-tabs__btn--active`, }