feat(ui) - session list - tabs and settings
This commit is contained in:
parent
7dedafa7b7
commit
4794a513ed
1 changed files with 2 additions and 3 deletions
|
|
@ -54,12 +54,11 @@ function TagItem({ isActive, onClick, label, icon = '', disabled = false }: any)
|
|||
onClick={onClick}
|
||||
className={cn('transition group rounded ml-2 px-2 py-1 flex items-center uppercase text-sm hover:bg-teal hover:text-white', {
|
||||
'bg-teal text-white': isActive,
|
||||
'bg-active-blue color-teal': !isActive,
|
||||
'disabled': disabled,
|
||||
})}
|
||||
>
|
||||
{icon && <Icon name={icon} color="teal" size="14" className={cn('group-hover:fill-white mr-2', { 'fill-white': isActive })} />}
|
||||
<span className="leading-none font-bold">{label}</span>
|
||||
{icon && <Icon name={icon} color={isActive ? 'teal' : 'gray-medium'} size="14" className={cn('group-hover:fill-white mr-2', { 'fill-white': isActive })} />}
|
||||
<span className="leading-none font-medium">{label}</span>
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue