I am making resume generation application and I have done the things into components.
Currently there are two components such as,
-> BasicDetails
-> EmploymentDetails
Complete working example:
https://codesandbox.io/s/next-dynamic-testing-issue-forked-h1nt8
index.js
<form onSubmit={handleSubmit}>
Basic Details:
<br />
<hr />
<BasicDetails />
<br />
<br />
Employment Details:
<br />
<hr />
<EmploymentDetails />
<div className="submit-button">
<button
className="btn btn-primary mr-2"
type="submit"
onSubmit={handleSubmit}
>
Save
</button>
</div>
<pre>{JSON.stringify(value, null, 2)}</pre>
</form>
All the components are under a single form, So I am facing difficulty in making the stepper components for the whole form.
The library that I have tried is: react-stepper-horizontal but I am unable to wrap the form
over this.
Including any other library also appreciated to achieve the result..
Requirement:
Need to implement the react-stepper-horizontal
that will have the form as wrapper and each components as steps.
Could you please kindly help me in making horizontal the step wizard form that has the components as each steps? Thanks in advance..