Skip to content

Commit

Permalink
[docs] Consistent line break (#27728)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Aug 14, 2021
1 parent 4d4e4f3 commit 2803f0c
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 41 deletions.
6 changes: 3 additions & 3 deletions docs/src/pages/components/accordion/accordion.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ Extend the default behavior to create an accordion with the `Accordion` componen

{{"demo": "pages/components/accordion/ControlledAccordions.js", "bg": true}}

## Customized accordion
## Customization

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

{{"demo": "pages/components/accordion/CustomizedAccordions.js"}}

Expand Down
3 changes: 2 additions & 1 deletion docs/src/pages/components/badges/badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Use `color` prop to apply theme palette to component.

## Customization

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

{{"demo": "pages/components/badges/CustomizedBadges.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/breadcrumbs/breadcrumbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ In the following examples, we are using two string separators and an SVG icon.

## Customization

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

{{"demo": "pages/components/breadcrumbs/CustomizedBreadcrumbs.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/buttons/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ Use `color` prop to apply theme color palette to component.

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/buttons/CustomizedButtons.js", "defaultCodeOpen": false}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/checkboxes/checkboxes.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ You can change the placement of the label:

## Customization

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

{{"demo": "pages/components/checkboxes/CustomizedCheckbox.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/dialogs/dialogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ For example, if your site prompts for potential subscribers to fill in their ema

## Customization

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

The dialog has a close button added to aide usability.

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/menus/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ The primary responsibility of the `MenuList` component is to handle the focus.

## Customization

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

{{"demo": "pages/components/menus/CustomizedMenus.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/progress/progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ function Progress(props) {

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/progress/CustomizedProgressBars.js", "defaultCodeOpen": false}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/radio-buttons/radio-buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ In general, radio buttons should have a value selected by default. If this is no

## Customization

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

{{"demo": "pages/components/radio-buttons/CustomizedRadios.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/rating/rating.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ For larger or smaller ratings use the `size` prop.

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/rating/CustomizedRating.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/selects/selects.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ You can find an example with the select mode [in this section](/components/text-

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

The first step is to style the `InputBase` component.
Once it's styled, you can either use it directly as a text field or provide it to the select `input` prop to have a `select` field.
Expand Down
3 changes: 2 additions & 1 deletion docs/src/pages/components/slider/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ In this example, an input allows a discrete value to be set.

## Customization

Here are some examples of customizing the component. You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/slider/CustomizedSlider.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/snackbars/snackbars.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ A basic snackbar that aims to reproduce Google Keep's snackbar behavior.

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/snackbars/CustomizedSnackbars.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/steppers/steppers.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Labels can be placed below the step icon by setting the `alternativeLabel` prop

### Customized horizontal stepper

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

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

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/switches/switches.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ However, you are encouraged to use [Checkboxes](/components/checkboxes/) instead

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/switches/CustomizedSwitches.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/tables/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ The Table has been given a fixed width to demonstrate horizontal scrolling. In o

## Customization

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

{{"demo": "pages/components/tables/CustomizedTables.js", "bg": true}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ All scrolling must be initiated through user agent scrolling mechanisms (e.g. le

## Customization

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

{{"demo": "pages/components/tabs/CustomizedTabs.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/text-fields/text-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ The `color` prop changes the highlight color of the text field when focused.

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/text-fields/CustomizedInputs.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/timeline/timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ The timeline can display content on opposite sides.

## Customization

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

{{"demo": "pages/components/timeline/CustomizedTimeline.js"}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/toggle-button/toggle-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ const handleDevices = (event, newDevices) => {

## Customization

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

{{"demo": "pages/components/toggle-button/CustomizedDividers.js", "bg": true}}

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/tooltips/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ They don't have directional arrows; instead, they rely on motion emanating from

## Customization

Here are some examples of customizing the component. You can learn more about this in the
[overrides documentation page](/customization/how-to-customize/).
Here are some examples of customizing the component.
You can learn more about this in the [overrides documentation page](/customization/how-to-customize/).

{{"demo": "pages/components/tooltips/CustomizedTooltips.js"}}

Expand Down

0 comments on commit 2803f0c

Please sign in to comment.