Summary 💡
Would it be a good idea if accepts a component prop? By default, this would be <Paper>
Examples 🌈
<Stepper component="div">
<Step>
<StepLabel>Hello world</StepLabel>
</Step>
</Stepper>
Motivation 🔦
I want to render a Stepper that doesn't use Paper - essentially I want it to have very plain styling and not be affected by any global styling that I do to the Paper component.
I believe there isn't a straightforward way to do this already, and was thinking that if we could pass a component to Stepper (which would default to <Paper>) then that would be similar to other components that take a prop that selects the inner component rendered.
Summary 💡
Would it be a good idea if accepts a component prop? By default, this would be
<Paper>Examples 🌈
Motivation 🔦
I want to render a Stepper that doesn't use Paper - essentially I want it to have very plain styling and not be affected by any global styling that I do to the Paper component.
I believe there isn't a straightforward way to do this already, and was thinking that if we could pass a component to Stepper (which would default to
<Paper>) then that would be similar to other components that take a prop that selects the inner component rendered.