-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(Dropdown): setActiveFromChild prop #977
feat(Dropdown): setActiveFromChild prop #977
Conversation
I'm not 100% sure this will work with the use-case in #960. Using react-router's |
Yes you are right :( it doesn't work when using react-router |
Still a nice feature. The kinks for the Link integration can be worked out later. For now, people can manage the active state of the dropdown via the items's active props rather than having additional logic in their code. |
There's zero documentation for |
It is listed in the dropdown props I could add a section showing how to use it if you think it is worth it |
I don't think the property name is enough documentation in this case. A simple usage example would be clarifying enough, though. |
See issue: #960