/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/translations/api-docs/toggle-button-group/toggle-button-group.json
78 строк
4 KB
Siriwat K
[ToggleButtonGroup] Remove deprecated classes (#48061)
23 мар 2026, 07:42
Не верифицирован
23 мар 2026, 07:42
e5e288d
Код
Авторство
О чём код?
{ "componentDescription": "", "propDescriptions": { "children": { "description": "The content of the component." }, "classes": { "description": "Override or extend the styles applied to the component." }, "color": { "description": "The color of the button when it is selected. It supports both default and custom theme colors, which can be added as shown in the <a href=\"https://mui.com/material-ui/customization/palette/#custom-colors\">palette customization guide</a>." }, "disabled": { "description": "If <code>true</code>, the component is disabled. This implies that all ToggleButton children will be disabled." }, "exclusive": { "description": "If <code>true</code>, only allow one of the child ToggleButton values to be selected." }, "fullWidth": { "description": "If <code>true</code>, the button group will take up the full width of its container." }, "onChange": { "description": "Callback fired when the value changes.", "typeDescriptions": { "event": { "name": "event", "description": "The event source of the callback." }, "value": { "name": "value", "description": "of the selected buttons. When <code>exclusive</code> is true this is a single value; when false an array of selected values. If no value is selected and <code>exclusive</code> is true the value is null; when false an empty array." } } }, "orientation": { "description": "The component orientation (layout flow direction)." }, "size": { "description": "The size of the component." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "value": { "description": "The currently selected value within the group or an array of selected values when <code>exclusive</code> is false.<br>The value must have reference equality with the option in order to be selected." } }, "classDescriptions": { "disabled": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>disabled={true}</code>" }, "firstButton": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the first button in the toggle button group" }, "fullWidth": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>fullWidth={true}</code>" }, "grouped": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the children" }, "horizontal": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation=\"horizontal\"</code>" }, "lastButton": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the last button in the toggle button group" }, "middleButton": { "description": "Styles applied to {{nodeName}}.", "nodeName": "buttons in the middle of the toggle button group" }, "root": { "description": "Styles applied to the root element." }, "selected": { "description": "State class applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>selected={true}</code>" }, "vertical": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>orientation=\"vertical\"</code>" } } }