FR: functionality to get total steps
flyfishMT opened this issue · comments
Is there a way to get the number of steps? Something like this? Thanks
const Header = () => {
const { activeStep, numberSteps } = useWizard();
return (
<h1>Step {activeStep + 1} of {numberSteps}</h1>
);
};
Is there a way to get the number of steps?
Not at the moment. But hopefully soon.
Hi, thanks for creating this issue (and already submitting a PR @ulken).
See PR for follow-up
@devrnt Sure thing. Maybe you typed ahead, cause I can't see any comments on the PR, yet?