fix: sutle animation to icon when section open/close

This commit is contained in:
Shariq Ansari 2023-08-03 19:22:59 +05:30
parent d39ce62d6a
commit 4a0216f180

View File

@ -90,8 +90,9 @@
@click="toggle()"
>
<FeatherIcon
:name="opened ? 'chevron-up' : 'chevron-down'"
class="h-4 text-gray-600"
name="chevron-right"
class="h-4 text-gray-600 transition-all duration-200 ease-in-out"
:class="{ 'rotate-90': opened }"
/>
{{ section.label }}
</div>