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

前端 未结 7 1264
不知归路
不知归路 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:33

    You need to change props icon of a StepLabel component as below:

    }
     style={{color: red500}}
    >
      Random label
    
    

提交回复
热议问题