Preparing search index...
The search index is not available
@pocketarc/use-journey
@pocketarc/use-journey
ComponentProps
Interface ComponentProps<State, Metadata>
The props passed to every component in the journey.
Type Parameters
State
extends
DefaultState
Metadata
extends
DefaultMetadata
Hierarchy
ComponentProps
Index
Properties
go
To
Next
Step
go
To
Previous
Step
metadata
set
State
state
Properties
go
To
Next
Step
go
To
Next
Step
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
go
To
Previous
Step
go
To
Previous
Step
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
metadata
metadata
:
Metadata
set
State
set
State
:
(
(
state
)
=>
void
)
Type declaration
(
state
)
:
void
Parameters
state
:
State
Returns
void
state
state
:
State
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
go
To
Next
Step
go
To
Previous
Step
metadata
set
State
state
@pocketarc/use-
journey
Component
Props
Computed
Step
Default
State
Step
Computed
Steps
Default
Metadata
Steps
get
Steps
Map
use
Journey
Generated using
TypeDoc
The props passed to every component in the journey.