<script setup lang="ts">
import Fieldset from 'primevue/fieldset';

defineProps({
    title: String,
});
</script>

<template>
    <Fieldset :legend="title" :toggleable="true">
        <div class="flex w-full flex-col gap-1">
            <slot />
        </div>
    </Fieldset>
</template>
