zaguiini / formik-wizard

A multi-step form component powered by formik and react-albus
MIT License
86 stars 26 forks source link

Doesn't work with NextJS #3

Closed corysimmons closed 5 years ago

corysimmons commented 5 years ago

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

image

Copy/pasted your example.

zaguiini commented 5 years ago

I don't know NextJS :/ Can't help with this. Do you use it or know somebody who uses that?

corysimmons commented 5 years ago

It's React with all the SSR stuff. It's no problem.

zaguiini commented 4 years ago

Actually the problem was that this lib doesn't have the default export, so you needed to do import { FormikWizard}

But it's too late haha.

corysimmons commented 4 years ago

lol rip. I'll try this lib again sometime. My bad. :)