{#each TABS as { label, icon }, idx }
tab = idx} >
{label}
{/each}
{#if tab === 0}
{:else if tab === 1}
{/if}
{#if loading}
Processing...
{/if}