{#each labels as label, i}
clickFun(i)}
class={`flex-1 flex flex-col justify-center text-center py-1 active:opacity-80 cursor-pointer ${
i === active ? 'text-primary dark:text-dark' : 'text-gray6'
} ${love ? 'text-lg' : 'text-sm'} ${tabInjClass} ${i === active && activeTabInjClass}`}
>
{#if label.icon}
{/if}
{#if label.text}
{label.text}
{/if}
{/each}