{
"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 palette customization guide."
},
"disabled": {
"description": "If true, the component is disabled. This implies that all ToggleButton children will be disabled."
},
"exclusive": {
"description": "If true, only allow one of the child ToggleButton values to be selected."
},
"fullWidth": {
"description": "If true, 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 exclusive is true this is a single value; when false an array of selected values. If no value is selected and exclusive 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 exclusive is false.
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": "disabled={true}"
},
"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": "fullWidth={true}"
},
"grouped": { "description": "Styles applied to {{nodeName}}.", "nodeName": "the children" },
"groupedHorizontal": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the children",
"conditions": "orientation=\"horizontal\"",
"deprecationInfo": "Combine the .MuiToggleButtonGroup-horizontal and .MuiToggleButtonGroup-grouped classes instead. See Migrating from deprecated APIs for more details."
},
"groupedVertical": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the children",
"conditions": "orientation=\"vertical\"",
"deprecationInfo": "Combine the .MuiToggleButtonGroup-vertical and .MuiToggleButtonGroup-grouped classes instead. See Migrating from deprecated APIs for more details."
},
"horizontal": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "orientation=\"horizontal\""
},
"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": "selected={true}"
},
"vertical": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "orientation=\"vertical\""
}
}
}