Skip to content

Commit

Permalink
Add horizontal class
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed May 15, 2024
1 parent 0fe9890 commit 0952d8e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/pages/material-ui/api/toggle-button-group.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
"description": "Styles applied to the children if `orientation=\"vertical\"`.",
"isGlobal": false
},
{
"key": "horizontal",
"className": "MuiToggleButtonGroup-horizontal",
"description": "Styles applied to the root element if `orientation=\"horizontal\"`.",
"isGlobal": false
},
{
"key": "lastButton",
"className": "MuiToggleButtonGroup-lastButton",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
"nodeName": "the children",
"conditions": "<code>orientation=\"vertical\"</code>"
},
"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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const toggleButtonGroupClasses: ToggleButtonGroupClasses = generateUtilityClasse
[
'root',
'selected',
'horizontal',
'vertical',
'disabled',
'grouped',
Expand Down

0 comments on commit 0952d8e

Please sign in to comment.