Skip to content

Commit

Permalink
Add copy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan committed Dec 1, 2023
1 parent 2e2cfc7 commit d4e901c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/material/components/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ The `centered` prop should be used for larger views.

### Automatic scroll buttons

Using the attributes `variant="scrollable"` and `scrollButtons="auto"`, left and right scroll buttons are automatically displayed on desktop, while on mobile they are hidden based on the viewport width.
Use the `variant="scrollable"` and `scrollButtons="auto"` props to display left and right scroll buttons on desktop that are hidden on mobile:

{{"demo": "ScrollableTabsButtonAuto.js", "bg": true}}

### Forced scroll buttons

To present the Left and right scroll buttons (reserve space) regardless of the viewport, use `scrollButtons={true}` and `allowScrollButtonsMobile`:
Apply `scrollButtons={true}` and the `allowScrollButtonsMobile` prop to display the left and right scroll buttons on all viewports:

{{"demo": "ScrollableTabsButtonForce.js", "bg": true}}

Expand Down

0 comments on commit d4e901c

Please sign in to comment.