diff --git a/src/RaisedButton/RaisedButton.js b/src/RaisedButton/RaisedButton.js index ea92cf5500ca7e..1888fb760af812 100644 --- a/src/RaisedButton/RaisedButton.js +++ b/src/RaisedButton/RaisedButton.js @@ -57,7 +57,7 @@ function getStyles(props, context, state) { } const buttonHeight = style && style.height || button.height; - const borderRadius = 2; + const borderRadius = style && parseInt(style.borderRadius, 10) || 2; return { root: { @@ -71,7 +71,7 @@ function getStyles(props, context, state) { lineHeight: `${buttonHeight}px`, width: '100%', padding: 0, - borderRadius: borderRadius, + borderRadius: `${borderRadius}px`, transition: transitions.easeOut(), backgroundColor: backgroundColor, // That's the default value for a button but not a link