This commit is contained in:
Kiril Videlov 2023-03-28 14:24:38 +02:00
parent 8827e9f91a
commit ed6c89d435

View File

@ -0,0 +1,17 @@
<script lang="ts">
export let leftLabel: string;
export let leftAction: function;
export let wide = false;
</script>
{#if $$slots.middle}
<div>
<slot name="left" />
<slot name="middle" />
<slot name="right" />
</div>
{:else}
<div>
<slot name="left" />
<slot name="right" />
</div>
{/if}