devrnt / react-use-wizard

🧙 A React wizard (stepper) builder without the hassle, powered by hooks.

Home Page:https://devrnt.github.io/react-use-wizard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proposal: Using key-properties as references

LukasOchmann opened this issue · comments

I realy like the simplicity.
I would like to propse an Idea: Using the key prop as reference.

<WIzard>
  <Step key="hello"/>
  <Step key="other"/>
</Wizard

that would lead to a usage of the gotToStep method like:

goToStep("other")