14 lines
341 B
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>
|