Add cursor pointer for accordion header
This commit is contained in:
parent
bf94349dca
commit
41adb7ecb0
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<box size="none" class="opacity-[0.8] hover:opacity-[1.0]" :type="type">
|
||||
<div href="#" @click.prevent="emit('update:model-value', modelValue === index ? -1 : index)" class="flex items-center justify-between p-2">
|
||||
<div href="#" @click.prevent="emit('update:model-value', modelValue === index ? -1 : index)" class="flex items-center justify-between p-2 cursor-pointer">
|
||||
<div v-text="title"></div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<slot name="buttons"></slot>
|
||||
|
|
Loading…
Reference in New Issue