[GlobalStyles] styles
type is probably too wide
#25208
Labels
component: GlobalStyles
The React component.
external dependency
Blocked by external dependency, we can’t do anything about it
package: styled-engine
Specific to @mui/styled-engine
typescript
Follow-up to #25191
Current Behavior 😯
<GlobalStyles styles={false} />
is acceptedExpected Behavior 🤔
It's unclear what this is supposed to do. https://next--material-ui.netlify.app/customization/how-to-customize/#5-global-css-override only documents an object.
The documented type in the API is probably too wide. Either we restrict it or we add tests for each overload.
The text was updated successfully, but these errors were encountered: