react-step-wizard
react-step-wizard copied to clipboard
instance type of StepWizardProps is wrong
The instance prop from StepWizardProps
is wrongly typed:
https://github.com/jcmcneal/react-step-wizard/blob/c2b944808aac2f777f2f780b639d9ba70923e8fe/src/index.d.ts#L10
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.