You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2021. It is now read-only.
Switch from passing reference to React Component as content in ProgressStep object to providing a component which only renders it's children when it's step matches the current step.
Example
return(<ProgressBar/><StepProgress><Stepstep={1}><h1> First step </h1></Step><Stepstep={2}><h1> Second step </h1></Step>
</StepProgess>);
Other
This is similar to how react-router currently works and allows for component composition along with better readability (in my opinion). I'm not sure on the names of the components so I'm open to suggestions. Again, if this is something you'd be interested in incorporating I'll submit a pull request