feateure: added accordion compoenent

This commit is contained in:
Paul Valerie GOMA 2025-07-21 14:42:41 +02:00
parent 454fc8e134
commit 1b01779237

View File

@ -0,0 +1,17 @@
<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>