Open kariae opened 3 years ago
The instance prop from StepWizardProps is wrongly typed: https://github.com/jcmcneal/react-step-wizard/blob/c2b944808aac2f777f2f780b639d9ba70923e8fe/src/index.d.ts#L10
StepWizardProps
It should be instance: (wizard: StepWizardChildProps) => void instead, this can be verified by console.log of the instance (SW from the demo) and check the logged props of the object.
instance: (wizard: StepWizardChildProps) => void
SW
The instance prop from
StepWizardProps
is wrongly typed: https://github.com/jcmcneal/react-step-wizard/blob/c2b944808aac2f777f2f780b639d9ba70923e8fe/src/index.d.ts#L10It should be
instance: (wizard: StepWizardChildProps) => void
instead, this can be verified by console.log of the instance (SW
from the demo) and check the logged props of the object.