mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-28 08:09:27 -05:00
18 lines
336 B
Svelte
18 lines
336 B
Svelte
<script lang="ts">
|
|
export let title = '';
|
|
export let first = false;
|
|
export let className = '';
|
|
</script>
|
|
|
|
<section class="w-full {first ? '' : 'mt-4'} {className}">
|
|
{#if title}
|
|
<h3 class="mb-2 text-xs text-gray-600 dark:text-gray-400">
|
|
{title}
|
|
</h3>
|
|
{/if}
|
|
|
|
<div class="flex flex-col gap-2.5">
|
|
<slot />
|
|
</div>
|
|
</section>
|