This commit is contained in:
Kiril Videlov 2023-03-28 14:24:38 +02:00 committed by Kiril Videlov
parent 7a6787ff5a
commit 74ddc05509

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}