feat: add until className defines (#6141)

This commit is contained in:
Joel 2024-07-10 15:34:56 +08:00 • committed by GitHub
commit a62325ac87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 146 additions and 13 deletions

View file

@ -36,7 +36,7 @@ const Tabs: FC<TabsProps> = ({
<div
key={tab.key}
className={cn(
'relative mr-4 h-[34px] leading-[34px] text-[13px] font-medium cursor-pointer',
'relative mr-4 h-[34px] text-[13px] leading-[34px] font-medium cursor-pointer',
activeTab === tab.key
? 'text-gray-700 after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-full after:bg-primary-600'
: 'text-gray-500',