Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the Icon and its position? #216

Open
ivanjeremic opened this issue Jan 22, 2022 · 1 comment
Open

How to change the Icon and its position? #216

ivanjeremic opened this issue Jan 22, 2022 · 1 comment

Comments

@ivanjeremic
Copy link

I want to change the Icon on the right and also be able to change the position to be left instead of right, I already searched the issues and using a react component in the trigger prop has no effect.

@Babrov
Copy link

Babrov commented Feb 2, 2022

@ivanjeremic Hi! I made this possible with passing this to trigger prop in Collapsible component
<Collapsible {...props} trigger={[trigger, <ExpandIcon key={trigger} />]} >
ExpandIcon - custom component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants