formik-wizard-form
formik-wizard-form copied to clipboard
npm package fails , but src files are ok
I am facing some weird bugs with this package.
if I use npm
package , I got this error :
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `FormikWizardProvider`.
but if I use files from ./src
(like example) the error will disappear.
I have the same problem. I have just imported the src files but am now getting an error with row 5 of Step.js - which says "TypeError: component is not a function"