Open rcoudercher opened 2 months ago
Update the LandingFAQ component to properly handle and render custom slots when defined, and ensure the parent component defines these slots correctly, then test to confirm the custom content displays as expected.
Environment
Version
2.18.4
Reproduction
https://stackblitz.com/edit/github-qsqtmc?file=app.vue
Description
LandingFAQ being built on top Accordion, when an item has a specified "slot" property, it should allow to display custom content in a corresponding slot. In my reproduction, you can see i have an faq item with a slot property equal to "risks". When using <template #risks> risks to show a specific content for that item, it works well in the accordion but is ignored in the LandingFAQ where the content property is shown instead.
Additional context
No response
Logs
No response