How to change the default chevron icon in Accordion to +/- ? #4706
Answered
by
payapula
sivaranjansahu
asked this question in
Q&A
-
I am trying to figure out how to change the chevron icon in the Accordion items to something else. I think I need to do that in the theme, but not sure how to do. Can anyone help , please ? thanks |
Beta Was this translation helpful? Give feedback.
Answered by
payapula
Sep 13, 2021
Replies: 1 comment 3 replies
-
They have an example for this exact use case in the docs: Accessing the internal state - Accordion | Chakra Docs And here is the live example of how to achieve what you are looking for - https://codesandbox.io/s/thirsty-cartwright-v6mqo?file=/src/index.js let me know if this helps. :) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
sivaranjansahu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @sivaranjansahu
They have an example for this exact use case in the docs: Accessing the internal state - Accordion | Chakra Docs
And here is the live example of how to achieve what you are looking for - https://codesandbox.io/s/thirsty-cartwright-v6mqo?file=/src/index.js
let me know if this helps. :)