chore(Accordion): add transition to trailing icon

This commit is contained in:
Benjamin Canac
2023-07-05 11:43:15 +02:00
parent a79c165eee
commit 3b432fde7a
2 changed files with 4 additions and 3 deletions

View File

@@ -7,10 +7,10 @@
<template #trailing>
<UIcon
:name="!open ? openIcon : closeIcon ? closeIcon : openIcon"
class="ms-auto transform"
:class="[
open && !closeIcon ? '-rotate-180' : '',
uiButton.icon.size[item.size || uiButton.default.size]
uiButton.icon.size[item.size || uiButton.default.size],
ui.item.icon
]"
/>
</template>