Skip to content

Commit

Permalink
Matt reivew
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 3, 2019
1 parent 6c35710 commit 1aabd7c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions docs/src/pages/components/steppers/steppers.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ Steppers may display a transient feedback message after a step is saved.
- **Types of Steps**: Editable, Non-editable, Mobile, Optional
- **Types of Steppers**: Horizontal, Vertical, Linear, Non-linear

## Customized Stepper

Here is an example of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/components/).

{{"demo": "pages/components/steppers/CustomizedSteppers.js"}}

> **Note:** Steppers are no longer documented in the [Material Design guidelines](https://material.io/), but Material-UI will continue to support them.
## Horizontal Stepper
Expand All @@ -38,6 +31,13 @@ Labels can be placed below the step icon by setting the `alternativeLabel` prop

{{"demo": "pages/components/steppers/HorizontalLinearAlternativeLabelStepper.js"}}

### Customized Stepper

Here is an example of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/components/).

{{"demo": "pages/components/steppers/CustomizedSteppers.js"}}

### Non-linear

Non-linear steppers allow users to enter a multi-step flow at any point.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Bundle size matters

The bundle size of Material-UI is taken very seriously. We take size snapshots
on every commit for every package and critical parts of those packages ([view latest snapshot](/size-snapshot)).
on every commit for every package and critical parts of those packages ([view the latest snapshot](/size-snapshot)).
Combined with [dangerJS](https://danger.systems/js/) we can inspect
[detailed bundle size changes](https://github.com/mui-org/material-ui/pull/14638#issuecomment-466658459) on every Pull Request.

Expand Down Expand Up @@ -42,7 +42,9 @@ import Button from '@material-ui/core/Button';
import TextField from '@material-ui/core/TextField';
```

This is the option we document in **all** the demos as the one that requires no configuration. Head to [Option 2](#option-2) for the option we recommend.
This is the option we document in **all** the demos because it requires no configuration.
We encourage it for library authors extending our components.
Head to [Option 2](#option-2) for the approach that yields the best DX and UX.

While importing directly in this manner doesn't use the exports in [`@material-ui/core/index.js`](https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/index.js), this file can serve as a handy reference as to which modules are public.

Expand All @@ -67,7 +69,7 @@ import TabIndicator from '@material-ui/core/Tabs/TabIndicator';

### Option 2

We **recommend** this option as providing the best DX and UX.
This option provides the best DX and UX.
However, you need to apply the following steps correctly.

#### 1. Configure Babel
Expand Down

0 comments on commit 1aabd7c

Please sign in to comment.