/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/translations/api-docs/tabs/tabs.json
103 строки
6 KB
Siriwat K
[Tabs][Tab] Remove deprecated CSS classes (#48078)
24 мар 2026, 11:52
Не верифицирован
24 мар 2026, 11:52
9da1516
Код
Авторство
О чём код?
{ "componentDescription": "", "propDescriptions": { "action": { "description": "Callback fired when the component mounts. This is useful when you want to trigger an action programmatically. It supports two actions: <code>updateIndicator()</code> and <code>updateScrollButtons()</code>" }, "allowScrollButtonsMobile": { "description": "If <code>true</code>, the scroll buttons aren't forced hidden on mobile. By default the scroll buttons are hidden on mobile and takes precedence over <code>scrollButtons</code>." }, "aria-label": { "description": "The label for the Tabs as a string." }, "aria-labelledby": { "description": "An id or list of ids separated by a space that label the Tabs." }, "centered": { "description": "If <code>true</code>, the tabs are centered. This prop is intended for large views." }, "children": { "description": "The content of the component." }, "classes": { "description": "Override or extend the styles applied to the component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "indicatorColor": { "description": "Determines the color of the indicator." }, "onChange": { "description": "Callback fired when the value changes.", "typeDescriptions": { "event": { "name": "event", "description": "The event source of the callback. <strong>Warning</strong>: This is a generic event not a change event." }, "value": { "name": "value", "description": "We default to the index of the child (number)" } } }, "orientation": { "description": "The component orientation (layout flow direction)." }, "scrollButtons": { "description": "<p>Determine behavior of scroll buttons when tabs are set to scroll:</p>\n<ul>\n<li><code>auto</code> will only present them when not all the items are visible.</li>\n<li><code>true</code> will always present them.</li>\n<li><code>false</code> will never present them.</li>\n</ul>\n<p>By default the scroll buttons are hidden on mobile.\nThis behavior can be disabled with <code>allowScrollButtonsMobile</code>.</p>\n" }, "selectionFollowsFocus": { "description": "If <code>true</code> the selected tab changes on focus. Otherwise it only changes on activation." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "textColor": { "description": "Determines the color of the <code>Tab</code>." }, "value": { "description": "The value of the currently selected <code>Tab</code>. If you don't want any selected <code>Tab</code>, you can set this prop to <code>false</code>." }, "variant": { "description": "<p>Determines additional display behavior of the tabs:</p>\n<ul>\n<li><code>scrollable</code> will invoke scrolling properties and allow for horizontally\n scrolling (or swiping) of the tab bar.</li>\n<li><code>fullWidth</code> will make the tabs grow to use all the available space,\n which should be used for small views, like on mobile.</li>\n<li><code>standard</code> will render the default state.</li>\n</ul>\n" }, "visibleScrollbar": { "description": "If <code>true</code>, the scrollbar is visible. It can be useful when displaying a long vertical list of tabs." } }, "classDescriptions": { "centered": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the flex container element", "conditions": "<code>centered={true}</code> & <code>!variant=\"scrollable\"</code>" }, "fixed": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the tablist element", "conditions": "<code>!variant=\"scrollable\"</code>\b\b\b" }, "hideScrollbar": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the tablist element", "conditions": "<code>variant=\"scrollable\"</code> and <code>visibleScrollbar={false}</code>" }, "scrollableX": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the tablist element", "conditions": "<code>variant=\"scrollable\"</code> and <code>orientation=\"horizontal\"</code>" }, "scrollableY": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the tablist element", "conditions": "<code>variant=\"scrollable\"</code> and <code>orientation=\"vertical\"</code>" }, "scrollButtonsHideMobile": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the ScrollButtonComponent component", "conditions": "<code>allowScrollButtonsMobile={true}</code>" }, "vertical": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation=\"vertical\"</code>" } }, "slotDescriptions": { "endScrollButtonIcon": "The component used for the end scroll button icon.", "indicator": "The component used for the tab indicator.", "list": "The component used for the flex container.", "root": "The component used for the popper.", "scrollbar": "The component used for the scroller.", "scrollButtons": "The component used for the scroll button.", "scroller": "The component used for the scroller.", "startScrollButtonIcon": "The component used for the start scroll button icon." } }