Destructuring form props to Stepper children
This commit is contained in:
parent
eda63553b1
commit
07974a8101
|
@ -158,7 +158,7 @@ class GnoStepper extends React.PureComponent<Props, State> {
|
||||||
<FormStep key={label}>
|
<FormStep key={label}>
|
||||||
<StepLabel>{label}</StepLabel>
|
<StepLabel>{label}</StepLabel>
|
||||||
<StepContent>
|
<StepContent>
|
||||||
{activePage(controls, rest)}
|
{activePage(controls, ...rest)}
|
||||||
</StepContent>
|
</StepContent>
|
||||||
</FormStep>
|
</FormStep>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue