<script>
    import { slide } from 'svelte/transition';
    import ErrorAlert from '../ErrorAlert.svelte';

    export let title;
</script>


<div class="divider"></div>
<div class="flex justify-between">
    <h3 class="text-lg font-bold">{title}</h3>
    <slot name="input"></slot>
</div>

{#if $$slots.description}
    <p class="mt-3">
        <slot name="description"></slot>
    </p>
{/if}
