Step
A Step is an individual stop in your multi-step flow, steps can be reused
It's a custom object with the following required methods
Note, How you create steps is up to you, see the Examples or some source files for tips
renderStep(props)
Param Object props
with a reference to your Tree via props.tree
renderStep()
should return your rendered Step for use by Tree render()
isValid(props)
Param Object props
with a reference to your Tree via props.tree
Is used to validate the step, steps must be valid before the Tree can stepForward()
Return true
if valid
Return false
, and handle validation errors, if invalid