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

[SpeedDialAction] Fix className prop being ignored #13161

Merged
merged 1 commit into from
Oct 9, 2018

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Oct 8, 2018

Closes #12159 (which was actually closed in #12725)

Merge className of SpeedDialAction into its button component.

@eps1lon eps1lon added the component: speed dial This is the name of the generic UI component, not the React module! label Oct 8, 2018
@@ -107,7 +107,7 @@ class SpeedDialAction extends React.Component {
<Button
variant="fab"
mini
className={classNames(classes.button, !open && classes.buttonClosed)}
className={classNames(classNameProp, classes.button, !open && classes.buttonClosed)}
Copy link
Member

@oliviertassinari oliviertassinari Oct 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no className variable in the scope. I think that we can use it, no need to rename it classNameProp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: speed dial This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants