Overriding LinearProgress
's bar2Determinate
styles not applied
#12318
Labels
component: LinearProgress
The React component.
package: styles
Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
I'm trying to overide the
LinearProgress
'sbar2Determinate
color as follows,But I'm getting following warning and the color is nor overridden.
When I checked the source code, I found this line,
https://github.com/mui-org/material-ui/blob/0efc81dad607437fa448d6b19a2c985266790848/packages/material-ui/src/LinearProgress/LinearProgress.js#L195
My guess is, it should be,
Expected Behavior
Should be able to override the
bar2Determinate
styles.Current Behavior
The
bar2Determinate
styles are not overridden.Steps to Reproduce
Link: https://codesandbox.io/s/rrn52ooqxn
#333333
Context
I'm trying to implement a custom styled
LinearProgress
Your Environment
The text was updated successfully, but these errors were encountered: