You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/pages/api-docs/grid.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Any other props supplied will be provided to the root element (native element).
54
54
55
55
| Rule name | Global class | Description |
56
56
|:-----|:-------------|:------------|
57
-
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiGrid-root</span> | Styles applied to the root element
57
+
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiGrid-root</span> | Styles applied to the root element.
58
58
| <spanclass="prop-name">container</span> | <spanclass="prop-name">.MuiGrid-container</span> | Styles applied to the root element if `container={true}`.
59
59
| <spanclass="prop-name">item</span> | <spanclass="prop-name">.MuiGrid-item</span> | Styles applied to the root element if `item={true}`.
60
60
| <spanclass="prop-name">zeroMinWidth</span> | <spanclass="prop-name">.MuiGrid-zeroMinWidth</span> | Styles applied to the root element if `zeroMinWidth={true}`.
Copy file name to clipboardexpand all lines: docs/pages/api-docs/paper.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ Any other props supplied will be provided to the root element (native element).
45
45
|:-----|:-------------|:------------|
46
46
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiPaper-root</span> | Styles applied to the root element.
47
47
| <spanclass="prop-name">rounded</span> | <spanclass="prop-name">.MuiPaper-rounded</span> | Styles applied to the root element if `square={false}`.
48
-
| <spanclass="prop-name">outlined</span> | <spanclass="prop-name">.MuiPaper-outlined</span> | Styles applied to the root element if `variant="outlined"`
48
+
| <spanclass="prop-name">outlined</span> | <spanclass="prop-name">.MuiPaper-outlined</span> | Styles applied to the root element if `variant="outlined"`.
Copy file name to clipboardexpand all lines: docs/pages/api-docs/step-label.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,8 @@ Any other props supplied will be provided to the root element (native element).
46
46
| Rule name | Global class | Description |
47
47
|:-----|:-------------|:------------|
48
48
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiStepLabel-root</span> | Styles applied to the root element.
49
-
| <spanclass="prop-name">horizontal</span> | <spanclass="prop-name">.MuiStepLabel-horizontal</span> | Styles applied to the root element if `orientation="horizontal".
50
-
| <spanclass="prop-name">vertical</span> | <spanclass="prop-name">.MuiStepLabel-vertical</span> | Styles applied to the root element if `orientation="vertical".
49
+
| <spanclass="prop-name">horizontal</span> | <spanclass="prop-name">.MuiStepLabel-horizontal</span> | Styles applied to the root element if `orientation="horizontal"`.
50
+
| <spanclass="prop-name">vertical</span> | <spanclass="prop-name">.MuiStepLabel-vertical</span> | Styles applied to the root element if `orientation="vertical"`.
51
51
| <spanclass="prop-name">label</span> | <spanclass="prop-name">.MuiStepLabel-label</span> | Styles applied to the `Typography` component which wraps `children`.
52
52
| <spanclass="prop-name">active</span> | <spanclass="prop-name">.MuiStepLabel-active</span> | Pseudo-class applied to the `Typography` component if `active={true}`.
53
53
| <spanclass="prop-name">completed</span> | <spanclass="prop-name">.MuiStepLabel-completed</span> | Pseudo-class applied to the `Typography` component if `completed={true}`.
You can learn more about the difference by [reading this guide](/guides/minimizing-bundle-size/).
20
+
21
+
22
+
23
+
## Component name
24
+
25
+
The `MuiTabScrollButton` name can be used for providing [default props](/customization/globals/#default-props) or [style overrides](/customization/globals/#css) at the theme level.
26
+
27
+
## Props
28
+
29
+
| Name | Type | Default | Description |
30
+
|:-----|:-----|:--------|:------------|
31
+
| <spanclass="prop-name">children</span> | <spanclass="prop-type">node</span> || The content of the component. |
32
+
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object</span> || Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
33
+
| <spanclass="prop-name required">direction *</span> | <spanclass="prop-type">'left'<br>| 'right'</span> || Which direction should the button indicate? |
34
+
| <spanclass="prop-name">disabled</span> | <spanclass="prop-type">bool</span> || If `true`, the element will be disabled. |
Any other props supplied will be provided to the root element (native element).
40
+
41
+
## CSS
42
+
43
+
| Rule name | Global class | Description |
44
+
|:-----|:-------------|:------------|
45
+
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiTabScrollButton-root</span> | Styles applied to the root element.
46
+
| <spanclass="prop-name">vertical</span> | <spanclass="prop-name">.MuiTabScrollButton-vertical</span> | Styles applied to the root element if `orientation="vertical"`.
47
+
| <spanclass="prop-name">disabled</span> | <spanclass="prop-name">.Mui-disabled</span> | Pseudo-class applied to the root element if `disabled={true}`.
48
+
49
+
You can override the style of the component thanks to one of these customization points:
50
+
51
+
- With a rule name of the [`classes` object prop](/customization/components/#overriding-styles-with-classes).
52
+
- With a [global class name](/customization/components/#overriding-styles-with-global-class-names).
53
+
- With a theme and an [`overrides` property](/customization/globals/#css).
54
+
55
+
If that's not sufficient, you can check the [implementation of the component](https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/TabScrollButton/TabScrollButton.js) for more detail.
Copy file name to clipboardexpand all lines: docs/pages/api-docs/tabs.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ The `MuiTabs` name can be used for providing [default props](/customization/glob
37
37
| <spanclass="prop-name">onChange</span> | <spanclass="prop-type">func</span> || Callback fired when the value changes.<br><br>**Signature:**<br>`function(event: object, value: any) => void`<br>*event:* The event source of the callback<br>*value:* We default to the index of the child (number) |
| <spanclass="prop-name">ScrollButtonComponent</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">TabScrollButton</span> | The component used to render the scroll buttons. |
40
-
| <spanclass="prop-name">scrollButtonProps</span> | <spanclass="prop-type">object</span> ||Determine behavior of scroll buttons when tabs are set to scroll:<br>- `auto` will only present them when not all the items are visible. - `desktop` will only present them on medium and larger viewports. - `on` will always present them. - `off` will never present them. |
| <spanclass="prop-name">TabScrollButtonProps</span> | <spanclass="prop-type">object</span> ||Props applied to the [`TabScrollButton`](/api/tab-scroll-button/) element. |
41
+
| <spanclass="prop-name">scrollButtons</span> | <spanclass="prop-type">'auto'<br>| 'desktop'<br>| 'on'<br>| 'off'</span> | <spanclass="prop-default">'auto'</span> |Determine behavior of scroll buttons when tabs are set to scroll:<br>- `auto` will only present them when not all the items are visible. - `desktop` will only present them on medium and larger viewports. - `on` will always present them. - `off` will never present them.|
42
42
| <spanclass="prop-name">TabIndicatorProps</span> | <spanclass="prop-type">object</span> | <spanclass="prop-default">{}</span> | Props applied to the tab indicator element. |
43
43
| <spanclass="prop-name">textColor</span> | <spanclass="prop-type">'secondary'<br>| 'primary'<br>| 'inherit'</span> | <spanclass="prop-default">'inherit'</span> | Determines the color of the `Tab`. |
44
44
| <spanclass="prop-name">value</span> | <spanclass="prop-type">any</span> || The value of the currently selected `Tab`. If you don't want any selected `Tab`, you can set this property to `false`. |
0 commit comments