{ "componentDescription": "⚠️ ToggleButtonGroup must have Button and/or IconButton as direct children.", "propDescriptions": { "buttonFlex": { "description": "The flex value of the button." }, "children": { "description": "Used to render icon or text elements inside the ButtonGroup if src is not set. This can be an element, or just a string." }, "color": { "description": "The color of the component. It supports those theme colors that make sense for this component." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "disabled": { "description": "If true, all the buttons will be disabled." }, "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." }, "size": { "description": "The size of the component. It accepts theme values between 'sm' and 'lg'." }, "slotProps": { "description": "The props used for each slot inside." }, "slots": { "description": "The components used for each slot inside." }, "spacing": { "description": "Defines the space between the type item components. It can only be used on a type container 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.
The value must have reference equality with the option in order to be selected." }, "variant": { "description": "The global variant to use." } }, "classDescriptions": { "colorContext": { "description": "Class name applied to {{nodeName}} when {{conditions}}.", "nodeName": "the root element", "conditions": "color inversion is triggered" }, "colorDanger": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "color=\"danger\"" }, "colorNeutral": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "color=\"neutral\"" }, "colorPrimary": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "color=\"primary\"" }, "colorSuccess": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "color=\"success\"" }, "colorWarning": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "color=\"warning\"" }, "horizontal": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "orientation=\"horizontal\"" }, "sizeLg": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "size=\"lg\"" }, "sizeMd": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "size=\"md\"" }, "sizeSm": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "size=\"sm\"" }, "variantOutlined": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "variant=\"outlined\"" }, "variantPlain": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "variant=\"plain\"" }, "variantSoft": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "variant=\"soft\"" }, "variantSolid": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "variant=\"solid\"" }, "vertical": { "description": "Class name applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "orientation=\"vertical\"" } }, "slotDescriptions": { "root": "The component that renders the root." } }