Skip to content

Commit

Permalink
[ButtonGroup] Allow override of the variant prop (#16946)
Browse files Browse the repository at this point in the history
  • Loading branch information
nate-vukovich authored and oliviertassinari committed Aug 9, 2019
1 parent 5dc2402 commit c5b518b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/ButtonGroup/ButtonGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const ButtonGroup = React.forwardRef(function ButtonGroup(props, ref) {
disableRipple,
fullWidth,
size: child.props.size || size,
variant,
variant: child.props.variant || variant,
});
})}
</Component>
Expand Down

0 comments on commit c5b518b

Please sign in to comment.