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

Add selectedParentIconComponent and unselectedParentIconComponent props #193

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

McFly78
Copy link
Contributor

@McFly78 McFly78 commented Jul 21, 2020

Hello,

Would it be possible to add selectedParentIconComponent and unselectedParentIconComponent props to be able to have different icon for parent and children rows ?

Many thanks for your job ;)
Regards,

@renrizzolo
Copy link
Owner

Hey, thanks for your PR!

I think for backwards compatibility it should look like this:

  • add new prop selectedSubItemIconComponent
  • existing selectedIconComponent is used on the parent
  • if selectedSubItemIconComponent isn't defined, sub-item falls back to selectedIconComponent

@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants