From c5b518bffa786c296155c205c6158d9c72875cb9 Mon Sep 17 00:00:00 2001 From: Nejc Vukovic Date: Fri, 9 Aug 2019 14:25:41 +0200 Subject: [PATCH] [ButtonGroup] Allow override of the variant prop (#16946) --- packages/material-ui/src/ButtonGroup/ButtonGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/ButtonGroup/ButtonGroup.js b/packages/material-ui/src/ButtonGroup/ButtonGroup.js index 0798ea1aa9206a..752ea8057ebbda 100644 --- a/packages/material-ui/src/ButtonGroup/ButtonGroup.js +++ b/packages/material-ui/src/ButtonGroup/ButtonGroup.js @@ -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, }); })}