From 7b461424956211d830155db207996c86525e8c72 Mon Sep 17 00:00:00 2001 From: therusskiy Date: Tue, 24 Jul 2018 21:46:31 +0400 Subject: [PATCH] fix missing square bracket in docs --- packages/material-ui/src/Button/Button.js | 2 +- pages/api/button.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui/src/Button/Button.js b/packages/material-ui/src/Button/Button.js index 9096ca46ebf195..e2975546eb90b1 100644 --- a/packages/material-ui/src/Button/Button.js +++ b/packages/material-ui/src/Button/Button.js @@ -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, diff --git a/pages/api/button.md b/pages/api/button.md index ea712044700d1a..4aba559281078a 100644 --- a/pages/api/button.md +++ b/pages/api/button.md @@ -48,7 +48,7 @@ This property accepts the following keys: | flatSecondary | Styles applied to the root element for backwards compatibility with legacy variant naming. | outlined | Styles applied to the root element if `variant="outlined"`. | contained | Styles applied to the root element if `variant="[contained | fab]"`. -| containedPrimary | Styles applied to the root element if `variant="[contained | fab|"` and `color="primary"`. +| containedPrimary | Styles applied to the root element if `variant="[contained | fab]"` and `color="primary"`. | containedSecondary | Styles applied to the root element if `variant="[contained | fab]"` and `color="secondary"`. | raised | Styles applied to the root element for backwards compatibility with legacy variant naming. | raisedPrimary | Styles applied to the root element for backwards compatibility with legacy variant naming.