-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[ListItem] Take the focusVisibleClassName property into account #11451
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good start :). Could you rebase on master, add a test case?
Also, don't forget that we need a green build to merge the pull-request
@@ -105,7 +106,7 @@ class ListItem extends React.Component { | |||
|
|||
if (button) { | |||
componentProps.component = componentProp || 'div'; | |||
componentProps.focusVisibleClassName = classes.focusVisible; | |||
componentProps.focusVisibleClassName = classnames(classes.focusVisible, focusVisibleClassName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be classNames(...)
(capitalized N
).
@rdemirov Thank you! |
@rdemirov You forgot to update the Typescript definition. |
This pull request merges the focusVisible css class with the focusVisibleClassName property
Closes #11432