Skip to content

Commit bb9d652

Browse files
authored
Merge pull request #36 from bushuai/feat/rotate-animation-for-chevron-icon
feat(Accordion): rotate animation for chevron icon
2 parents 080be1d + 85219ab commit bb9d652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/Accordions/Accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const AccordionHeader = React.forwardRef<
3131
<AccordionPrimitive.Trigger
3232
ref={ref}
3333
className={cn(
34-
"flex flex-1 items-start justify-between px-4 py-2 font-head text-black cursor-pointer focus:outline-none",
34+
"flex flex-1 items-start justify-between px-4 py-2 font-head text-black cursor-pointer focus:outline-none [&[data-state=open]>svg]:rotate-180",
3535
className
3636
)}
3737
{...props}

0 commit comments

Comments
 (0)