From aab481cb999d74c4cafe892bc09139e8045157b1 Mon Sep 17 00:00:00 2001 From: Deniz Susman <39295979+DenrizSusam@users.noreply.github.com> Date: Fri, 25 Jan 2019 11:39:42 +0300 Subject: [PATCH 1/3] nextButton comment fix "...For instance, it can be be a `Button` or a `IconButton`." should be "For instance, it can be a `Button` or an `IconButton`". --- packages/material-ui/src/MobileStepper/MobileStepper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/MobileStepper/MobileStepper.js b/packages/material-ui/src/MobileStepper/MobileStepper.js index f8cc3209ce274a..4582314e6fa5a7 100644 --- a/packages/material-ui/src/MobileStepper/MobileStepper.js +++ b/packages/material-ui/src/MobileStepper/MobileStepper.js @@ -130,7 +130,7 @@ MobileStepper.propTypes = { */ LinearProgressProps: PropTypes.object, /** - * A next button element. For instance, it can be be a `Button` or a `IconButton`. + * A next button element. For instance, it can be a `Button` or an `IconButton`. */ nextButton: PropTypes.node, /** From 6c25167a6faed4e79a4831c9fec05775a5d2024c Mon Sep 17 00:00:00 2001 From: Deniz Susman <39295979+DenrizSusam@users.noreply.github.com> Date: Fri, 25 Jan 2019 12:20:34 +0300 Subject: [PATCH 2/3] Update MobileStepper.js --- packages/material-ui/src/MobileStepper/MobileStepper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/MobileStepper/MobileStepper.js b/packages/material-ui/src/MobileStepper/MobileStepper.js index 4582314e6fa5a7..8043d25855301c 100644 --- a/packages/material-ui/src/MobileStepper/MobileStepper.js +++ b/packages/material-ui/src/MobileStepper/MobileStepper.js @@ -113,7 +113,7 @@ MobileStepper.propTypes = { */ activeStep: PropTypes.number, /** - * A back button element. For instance, it can be be a `Button` or a `IconButton`. + * A back button element. For instance, it can be a `Button` or an `IconButton`. */ backButton: PropTypes.node, /** From 4addd113c9f150af008a70c649a9c9b787211cef Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 25 Jan 2019 11:13:58 +0100 Subject: [PATCH 3/3] yarn docs:api --- pages/api/mobile-stepper.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/mobile-stepper.md b/pages/api/mobile-stepper.md index a75c4b42df1953..7b1402866c6611 100644 --- a/pages/api/mobile-stepper.md +++ b/pages/api/mobile-stepper.md @@ -19,10 +19,10 @@ import MobileStepper from '@material-ui/core/MobileStepper'; | Name | Type | Default | Description | |:-----|:-----|:--------|:------------| | activeStep | number | 0 | Set the active step (zero based index). Defines which dot is highlighted when the variant is 'dots'. | -| backButton | node |   | A back button element. For instance, it can be be a `Button` or a `IconButton`. | +| backButton | node |   | A back button element. For instance, it can be a `Button` or an `IconButton`. | | classes | object |   | Override or extend the styles applied to the component. See [CSS API](#css-api) below for more details. | | LinearProgressProps | object |   | Properties applied to the `LinearProgress` element. | -| nextButton | node |   | A next button element. For instance, it can be be a `Button` or a `IconButton`. | +| nextButton | node |   | A next button element. For instance, it can be a `Button` or an `IconButton`. | | position | enum: 'bottom' |
 'top' |
 'static'
| 'bottom' | Set the positioning type. | | steps * | number |   | The total steps. | | variant | enum: 'text' |
 'dots' |
 'progress'
| 'dots' | The variant to use. |