Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
hughess committed Jan 14, 2025
1 parent 3233afb commit cbb02eb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/ui/core-components/src/lib/unsorted/ui/Tabs/Tabs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$: printShowAll = toBoolean(printShowAll);
let printing = false;
export let fullWidth = false;
export let fullWidth = false;
export let background = false;
/** @type {import('./index.d.ts').TabsContext} */
Expand Down Expand Up @@ -72,20 +72,20 @@
<section>
{#if !printing || !printShowAll}
<nav class="my-5 flex flex-wrap gap-x-0 gap-y-1 border-b">
{#each $context.tabs as tab}
<TabDisplay
id={tab.id}
label={tab.label}
fullWidth={toBoolean(fullWidth)}
background={toBoolean(background)}
{color}
activeId={$context.activeId}
on:click={() => handleTabClick(tab.id)}
>
<slot />
</TabDisplay>
{/each}
</nav>
{#each $context.tabs as tab}
<TabDisplay
id={tab.id}
label={tab.label}
fullWidth={toBoolean(fullWidth)}
background={toBoolean(background)}
{color}
activeId={$context.activeId}
on:click={() => handleTabClick(tab.id)}
>
<slot />
</TabDisplay>
{/each}
</nav>
{/if}
<div class="text-base">
Expand Down

0 comments on commit cbb02eb

Please sign in to comment.