1
0
forked from test/crm

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