Skip to content

Commit f86c992

Browse files
janhestersoliviertassinari
authored andcommittedMay 10, 2019
[SpeedDial] Fix classname override logic (#15652)
* Fix classname for Fab button. * fix the order
1 parent 45bc9aa commit f86c992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/material-ui-lab/src/SpeedDial/SpeedDial.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ class SpeedDial extends React.Component {
252252
aria-haspopup="true"
253253
aria-expanded={open ? 'true' : 'false'}
254254
aria-controls={`${id}-actions`}
255-
className={classes.fab}
256255
{...clickProp}
257256
{...ButtonProps}
257+
className={clsx(classes.fab, ButtonProps.className)}
258258
ref={ref => {
259259
this.actions[0] = ref;
260260
setRef(origDialButtonRef, ref);

0 commit comments

Comments
 (0)