[material-ui] ToggleButtonGroupClasses type is missing selected
#42228
Labels
bug 🐛
Something doesn't work
component: toggle button
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
package: material-ui
Specific to @mui/material
typescript
Steps to reproduce
The below file gets added to our
components
theme configuration.Attempting to validate this file in typescript produces an error for every use of
classes.selected
:Current behavior
toggleButtonGroupClasses
includes a css class forselected
.The related typescript interface, ToggleButtonGroupClasses is missing that key, causing typescript to throw an error if you try to style against it.
Expected behavior
I expect both types to match.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: ToggleButtonGroupClasses
The text was updated successfully, but these errors were encountered: