How do you change the Stepper color on React Material UI?

前端 未结 7 1259
不知归路
不知归路 2021-02-14 01:17

In the screenshot above, I am trying to change the step color to either: green for correct, yellow for in-progress and red for incorrect.

How could I do this?

7条回答
  •  广开言路
    2021-02-14 01:47

    We need to pass the class to StepperLabel props . For example if we need to change alternativeLabel class then try the below:-

    
      
        
           {'label'}
        
      
    
    

提交回复
热议问题