-
Hello! I am new to developing with Radix and wanted to see if something like this was possible. I am building out an Accordion component with styled components. In particular, I am trying to customize the Trigger component to only fire the dropdown open event ONLY when the chevron is click, not the whole area of the closed accordion.
This is then used in the main Accordion component:
What would be a good first step towards doing that, and is it possible? |
Beta Was this translation helpful? Give feedback.
Answered by
joaom00
Jul 31, 2023
Replies: 1 comment 1 reply
-
I guess you can move <Accordion.Header>
Is it accessible?
<Accordion.Trigger>
<Chevron />
</Accordion.Trigger>
</Accordion.Heading> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MahemaS27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess you can move
Trigger
just to the chevron