diff --git a/docs/pages/api/linear-progress.md b/docs/pages/api/linear-progress.md index ea1408506f0d14..a45999a6133292 100644 --- a/docs/pages/api/linear-progress.md +++ b/docs/pages/api/linear-progress.md @@ -46,7 +46,7 @@ Any other props supplied will be provided to the root element (native element). | Rule name | Global class | Description | |:-----|:-------------|:------------| | root | .MuiLinearProgress-root | Styles applied to the root element. -| colorPrimary | .MuiLinearProgress-colorPrimary | Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant-"buffer"`. +| colorPrimary | .MuiLinearProgress-colorPrimary | Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. | colorSecondary | .MuiLinearProgress-colorSecondary | Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. | determinate | .MuiLinearProgress-determinate | Styles applied to the root element if `variant="determinate"`. | indeterminate | .MuiLinearProgress-indeterminate | Styles applied to the root element if `variant="indeterminate"`. diff --git a/packages/material-ui/src/LinearProgress/LinearProgress.js b/packages/material-ui/src/LinearProgress/LinearProgress.js index e45ddd6d6eb7b9..5e7e3711b3ad6a 100644 --- a/packages/material-ui/src/LinearProgress/LinearProgress.js +++ b/packages/material-ui/src/LinearProgress/LinearProgress.js @@ -22,7 +22,7 @@ export const styles = theme => { overflow: 'hidden', height: 4, }, - /* Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant-"buffer"`. */ + /* Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */ colorPrimary: { backgroundColor: backgroundPrimary, },