Skip to content

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