{
"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 in an active state. 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." },
"disableFocusRipple": {
"description": "If true, the keyboard focus ripple is disabled."
},
"disableRipple": {
"description": "If true, the ripple effect is disabled.
⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure to highlight the element by applying separate styles with the .Mui-focusVisible class."
},
"fullWidth": {
"description": "If true, the button will take up the full width of its container."
},
"onChange": {
"description": "Callback fired when the state changes.",
"typeDescriptions": {
"event": { "name": "event", "description": "The event source of the callback." },
"value": { "name": "value", "description": "of the selected button." }
}
},
"onClick": {
"description": "Callback fired when the button is clicked.",
"typeDescriptions": {
"event": { "name": "event", "description": "The event source of the callback." },
"value": { "name": "value", "description": "of the selected button." }
}
},
"selected": {
"description": "If true, the button is rendered in an active state."
},
"size": {
"description": "The size of the component. The prop defaults to the value inherited from the parent ToggleButtonGroup component."
},
"sx": {
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
},
"value": {
"description": "The value to associate with the button when selected in a ToggleButtonGroup."
}
},
"classDescriptions": {
"disabled": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "disabled={true}"
},
"fullWidth": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "fullWidth={true}"
},
"primary": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "color=\"primary\""
},
"root": { "description": "Styles applied to the root element." },
"secondary": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "color=\"secondary\""
},
"selected": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "selected={true}"
},
"sizeLarge": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "size=\"large\""
},
"sizeMedium": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "size=\"medium\""
},
"sizeSmall": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "size=\"small\""
},
"standard": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "color=\"standard\""
}
}
}