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

14 lines
341 B
Vue

<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>