I am trying to make my own step wizard(I seen a few online but none really meet my needs) and this will be good practice.
I will have a StepWizard and I want to pass into this step wizard an array of json that will look like this
const steps = [ { name: "Step 1", component: <Step /> }, { name: "Step 2", component: <Step2 /> }, { name: "Step 3", component: <Step3 /> }]
Each "Step" is it's own component.
<StepWizardComponent steps={this.steps}/>
When I do a console.log(this.props) in StepWizardComponent, I just see null.
I am using react 16.