{ "props": { "buttonFlex": { "type": { "name": "union", "description": "number
| string" } }, "children": { "type": { "name": "node" } }, "color": { "type": { "name": "union", "description": "'danger'
| 'info'
| 'neutral'
| 'primary'
| 'success'
| 'warning'
| string" }, "default": "'neutral'", "additionalInfo": { "joy-color": true } }, "component": { "type": { "name": "elementType" } }, "disabled": { "type": { "name": "bool" }, "default": "false" }, "onChange": { "type": { "name": "func" }, "signature": { "type": "function(event: React.MouseEvent, value: any) => void", "describedArgs": ["event", "value"] } }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, "default": "'horizontal'" }, "size": { "type": { "name": "enum", "description": "'sm'
| 'md'
| 'lg'" }, "default": "'md'", "additionalInfo": { "joy-size": true } }, "slotProps": { "type": { "name": "shape", "description": "{ root?: func
| object }" }, "default": "{}" }, "slots": { "type": { "name": "shape", "description": "{ root?: elementType }" }, "default": "{}", "additionalInfo": { "slotsApi": true } }, "spacing": { "type": { "name": "union", "description": "Array<number
| string>
| number
| { lg?: number
| string, md?: number
| string, sm?: number
| string, xl?: number
| string, xs?: number
| string }
| string" }, "default": "0" }, "sx": { "type": { "name": "union", "description": "Array<func
| object
| bool>
| func
| object" }, "additionalInfo": { "sx": true } }, "value": { "type": { "name": "union", "description": "Array<string>
| string" } }, "variant": { "type": { "name": "union", "description": "'outlined'
| 'plain'
| 'soft'
| 'solid'
| string" }, "default": "'outlined'", "additionalInfo": { "joy-variant": true } } }, "name": "ToggleButtonGroup", "imports": [ "import ToggleButtonGroup from '@mui/joy/ToggleButtonGroup';", "import { ToggleButtonGroup } from '@mui/joy';" ], "slots": [ { "name": "root", "description": "The component that renders the root.", "default": "'div'", "class": "MuiToggleButtonGroup-root" } ], "classes": [ { "key": "colorContext", "className": "MuiToggleButtonGroup-colorContext", "description": "Class name applied to the root element when color inversion is triggered.", "isGlobal": false }, { "key": "colorDanger", "className": "MuiToggleButtonGroup-colorDanger", "description": "Class name applied to the root element if `color=\"danger\"`.", "isGlobal": false }, { "key": "colorNeutral", "className": "MuiToggleButtonGroup-colorNeutral", "description": "Class name applied to the root element if `color=\"neutral\"`.", "isGlobal": false }, { "key": "colorPrimary", "className": "MuiToggleButtonGroup-colorPrimary", "description": "Class name applied to the root element if `color=\"primary\"`.", "isGlobal": false }, { "key": "colorSuccess", "className": "MuiToggleButtonGroup-colorSuccess", "description": "Class name applied to the root element if `color=\"success\"`.", "isGlobal": false }, { "key": "colorWarning", "className": "MuiToggleButtonGroup-colorWarning", "description": "Class name applied to the root element if `color=\"warning\"`.", "isGlobal": false }, { "key": "horizontal", "className": "MuiToggleButtonGroup-horizontal", "description": "Class name applied to the root element if `orientation=\"horizontal\"`.", "isGlobal": false }, { "key": "sizeLg", "className": "MuiToggleButtonGroup-sizeLg", "description": "Class name applied to the root element if `size=\"lg\"`.", "isGlobal": false }, { "key": "sizeMd", "className": "MuiToggleButtonGroup-sizeMd", "description": "Class name applied to the root element if `size=\"md\"`.", "isGlobal": false }, { "key": "sizeSm", "className": "MuiToggleButtonGroup-sizeSm", "description": "Class name applied to the root element if `size=\"sm\"`.", "isGlobal": false }, { "key": "variantOutlined", "className": "MuiToggleButtonGroup-variantOutlined", "description": "Class name applied to the root element if `variant=\"outlined\"`.", "isGlobal": false }, { "key": "variantPlain", "className": "MuiToggleButtonGroup-variantPlain", "description": "Class name applied to the root element if `variant=\"plain\"`.", "isGlobal": false }, { "key": "variantSoft", "className": "MuiToggleButtonGroup-variantSoft", "description": "Class name applied to the root element if `variant=\"soft\"`.", "isGlobal": false }, { "key": "variantSolid", "className": "MuiToggleButtonGroup-variantSolid", "description": "Class name applied to the root element if `variant=\"solid\"`.", "isGlobal": false }, { "key": "vertical", "className": "MuiToggleButtonGroup-vertical", "description": "Class name applied to the root element if `orientation=\"vertical\"`.", "isGlobal": false } ], "spread": true, "themeDefaultProps": true, "muiName": "JoyToggleButtonGroup", "forwardsRefTo": "HTMLDivElement", "filename": "/packages/mui-joy/src/ToggleButtonGroup/ToggleButtonGroup.tsx", "inheritance": null, "demos": "", "cssComponent": false }