Skip to content

Commit

Permalink
fix missing square bracket in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRusskiy committed Jul 24, 2018
1 parent d12eb6d commit 7b46142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const styles = theme => ({
},
},
},
/* Styles applied to the root element if `variant="[contained | fab|"` and `color="primary"`. */
/* Styles applied to the root element if `variant="[contained | fab]"` and `color="primary"`. */
containedPrimary: {
color: theme.palette.primary.contrastText,
backgroundColor: theme.palette.primary.main,
Expand Down
2 changes: 1 addition & 1 deletion pages/api/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This property accepts the following keys:
| <span class="prop-name">flatSecondary</span> | Styles applied to the root element for backwards compatibility with legacy variant naming.
| <span class="prop-name">outlined</span> | Styles applied to the root element if `variant="outlined"`.
| <span class="prop-name">contained</span> | Styles applied to the root element if `variant="[contained &#124; fab]"`.
| <span class="prop-name">containedPrimary</span> | Styles applied to the root element if `variant="[contained &#124; fab&#124;"` and `color="primary"`.
| <span class="prop-name">containedPrimary</span> | Styles applied to the root element if `variant="[contained &#124; fab]"` and `color="primary"`.
| <span class="prop-name">containedSecondary</span> | Styles applied to the root element if `variant="[contained &#124; fab]"` and `color="secondary"`.
| <span class="prop-name">raised</span> | Styles applied to the root element for backwards compatibility with legacy variant naming.
| <span class="prop-name">raisedPrimary</span> | Styles applied to the root element for backwards compatibility with legacy variant naming.
Expand Down

0 comments on commit 7b46142

Please sign in to comment.