jcmcneal / react-step-wizard

A modern flexible step wizard component built for React.
MIT License
578 stars 126 forks source link

Not Compactible With Next13 #127

Open ogheneovo12 opened 10 months ago

ogheneovo12 commented 10 months ago

for some weird reasons, on next13, stepNames are not registered

mtaba commented 9 months ago

I receive this error with next13 : TypeError: Cannot call a class as a function

clodal commented 8 months ago

Add 'use client' to the top of your file.

alofeoluwafemi commented 8 months ago

Hi, @clodal Adding "use client" to the top of my file doesn't work! Any other ideas? Weiredly it works on development but not on production.

I will appreciate your help

craigwi commented 6 months ago

I have the same issue as @mtaba and @alofeoluwafemi. Any workarounds?

craigwi commented 6 months ago

FWIW, the following worked for me:

Happy New Year!

fred-boink commented 3 weeks ago

FWIW, the following worked for me:

  • copy the src directory to my project (sans the test file)
  • rename the css files to .module.css
  • fix the imports.

Happy New Year!

This worked for me.