2
0
Fork 0
inspin.io/components/products/Details.vue

14 lines
341 B
Vue
Raw Normal View History

2024-08-15 12:28:47 +00:00
<script setup>
const { title, desc } = defineProps(['title', 'desc'])
</script>
<template>
<details>
<summary>
{{ title }}
<span class="icon-chevron-down" xlink:href="#expand" ></span>
<span class="icon-chevron-up" xlink:href="#close" ></span>
</summary>
<div v-html="desc" ></div>
</details>
</template>