react-step-wizard icon indicating copy to clipboard operation
react-step-wizard copied to clipboard

instance type of StepWizardProps is wrong

Open kariae opened this issue 3 years ago • 0 comments

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.

kariae avatar Sep 22 '21 07:09 kariae