Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
Ant Design Steps - getting warning when setting values for stepNumber and stepIndex (React)

I'm using Ant Design Steps component to build interactive form. Have to provide step number explicitly because otherwise AntD skips steps (shows only 1,3,6,8 steps).

   <Step stepNumber={1} stepIndex={1} title="Component 1."/>
                    {currentStep === 1> && <Component1/>}
   </Step>
   <Step stepNumber={2} stepIndex={2} title="Component 2."/>
                    {currentStep === 2> && <Component2/>}
   </Step>

Settings steps works but console shows error "React does not recognize the stepNumber prop on a DOM element.". Do you know how to resolve the error?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!