<script setup lang="ts">
import Accordion from 'primevue/accordion';
import VAccordionChild from './VAccordionChild.vue';
import type IVAccordion from './IVAccordion.type';

const props = withDefaults(defineProps<IVAccordion>(), {
    value: null,
});
</script>

<template>
  <Accordion :value="props.value" class="p-accordion" style="width: 100%;">
    <slot>
      <VAccordionChild/>
    </slot>
  </Accordion>
</template>
