2025-03-03 16:08:25 +01:00
|
|
|
<script lang="ts">
|
2022-06-24 15:55:25 +02:00
|
|
|
import Detail from "../Typography/Detail.svelte"
|
|
|
|
|
2025-03-03 16:08:25 +01:00
|
|
|
export let title: string | null = null
|
2022-06-24 15:55:25 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
{#if title}
|
|
|
|
<div class="title">
|
|
|
|
<Detail>{title}</Detail>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
<div class="list-items">
|
|
|
|
<slot />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.title {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
.list-items {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
</style>
|