I'm working on a Stepper and I want to add a progress bar between each step. I'm using Material-ui Stepper connector to achieve this. But same connector is applied to all steps. That's not a real problem because I can do it using jss.
bar: { transform: "translateX(-101%) !important" } // This rule can control progress bars
The real problem here is that I don't know how can I add the rule to just one of the bars using jss.
If there's a better way to add the progress bars, great. I'm just sharing mine to give you more context.
This is what I have:
Code: https://codesandbox.io/s/determined-diffie-636ss?file=/src/App.js
The Material-ui stepper component was not adjusting to my needs and it was becoming an obstacle. So I created my own Stepper component.
I did a quick research and found this Simple Stepper by Vicente Lyrio and made my custom component from that code. Here's my result: Stepper with progress bars by Jhonatan Zuluaga You can add as many steps as you want to and it's going to work. Here's the component: