Skip to content

Commit

Permalink
[docs] "codestyle" comment typo fix (#12511)
Browse files Browse the repository at this point in the history
* "codestyle" comment typo fix

* Update LinearProgress.js

* undo two line

* green
  • Loading branch information
nicksiscoe authored and oliviertassinari committed Aug 14, 2018
1 parent 3d73106 commit ddd5189
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/material-ui/src/LinearProgress/LinearProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export const styles = theme => ({
colorPrimary: {
backgroundColor: lighten(theme.palette.primary.light, 0.6),
},
/* Styles applied to the root & bar2 elements if `color="secondary"`; bar2 if variant="buffer". */
// eslint-disable-next-line max-len
/* Styles applied to the root & bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
colorSecondary: {
backgroundColor: lighten(theme.palette.secondary.light, 0.4),
},
Expand Down
2 changes: 1 addition & 1 deletion pages/api/linear-progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This property accepts the following keys:
|:-----|:------------|
| <span class="prop-name">root</span> | Styles applied to the root element.
| <span class="prop-name">colorPrimary</span> | Styles applied to the root & bar2 element if `color="primary"`; bar2 if `variant-"buffer"`.
| <span class="prop-name">colorSecondary</span> | Styles applied to the root & bar2 elements if `color="secondary"`; bar2 if variant="buffer".
| <span class="prop-name">colorSecondary</span> | Styles applied to the root & bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`.
| <span class="prop-name">buffer</span> | Styles applied to the root element if `variant="buffer"`.
| <span class="prop-name">query</span> | Styles applied to the root element if `variant="query"`.
| <span class="prop-name">dashed</span> | Styles applied to the additional bar element if `variant="buffer"`.
Expand Down

0 comments on commit ddd5189

Please sign in to comment.