MapComplete/src/UI/Base/TitledPanel.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
318 B
Svelte
Raw Normal View History

2024-07-11 19:01:32 +02:00
<script lang="ts">
import Translations from "../i18n/Translations"
</script>
<div class="flex h-full flex-col">
<h2 class="low-interaction m-0 flex items-center p-4 drop-shadow-md">
<slot name="title" />
</h2>
<div class="flex h-full flex-col overflow-auto border-b-2 p-4">
<slot />
</div>
</div>