mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-13 20:24:06 +00:00
Aggregation
This commit is contained in:
@ -18,7 +18,10 @@
|
||||
<ul>
|
||||
{#each tabs as tab (tab.key)}
|
||||
<li class:active={tab.key === selectedKey}>
|
||||
<button class="tab" on:click={() => select(tab.key)}>{tab.title}</button>
|
||||
<button class="tab" on:click={() => select(tab.key)}>
|
||||
{#if tab.icon} <Icon name={tab.icon} /> {/if}
|
||||
{tab.title}
|
||||
</button>
|
||||
{#if tab.closable}
|
||||
<button class="btn-sm" on:click={() => dispatch('closeTab', tab.key)}>
|
||||
<Icon name="x" />
|
||||
|
Reference in New Issue
Block a user