<template>
    <AccordionPanel
        unstyled
        :pt="theme"
        :ptOptions="{
            mergeProps: ptViewMerge
        }"
    >
        <slot></slot>
    </AccordionPanel>
</template>

<script setup>
import AccordionPanel from 'primevue/accordionpanel';
import { ref } from 'vue';
import { ptViewMerge } from '../utils';

const theme = ref({
    root: `flex flex-col border-b border-surface-200 dark:border-surface-700`
});
</script>
