Skip to content

How to change the default chevron icon in Accordion to +/- ? #4706

Answered by payapula
sivaranjansahu asked this question in Q&A
Discussion options

You must be logged in to vote

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. :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sivaranjansahu
Comment options

@FredPerr
Comment options

@ahmedshantodev
Comment options

Answer selected by sivaranjansahu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants