WizardProviderProps
Defined in: packages/react/src/v1/index.tsx:72
Props for WizardProvider: the createWizard options, all optional
here, or wizard for an engine built elsewhere. Passing wizard together
with any option throws provider-wizard-and-options.
Extends
Section titled “Extends”Partial<WizardOptions>
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren:ReactNode
Defined in: packages/react/src/v1/index.tsx:75
optionalctx:Record<string,unknown>
Defined in: packages/core/dist/index.d.ts:324
The initial ctx, which expressions read under ctx. Ignored when state is given.
Inherited from
Section titled “Inherited from”
optionaldata:Record<string,unknown>
Defined in: packages/core/dist/index.d.ts:322
The initial data. Ignored when state is given.
Inherited from
Section titled “Inherited from”
optionalflow:FlowDefinition
Defined in: packages/core/dist/index.d.ts:316
Inherited from
Section titled “Inherited from”Partial.flow
groups?
Section titled “groups?”
optionalgroups:Traversal
Defined in: packages/core/dist/index.d.ts:332
Group and repeat traversal, from @wizzard-packages/core/groups. Required
by any flow containing a GroupStep, and carried by no flow without one -
which is the whole reason it is passed in rather than imported.
Inherited from
Section titled “Inherited from”plugins?
Section titled “plugins?”
optionalplugins: readonlyHooks[]
Defined in: packages/core/dist/index.d.ts:320
Plugins, called in this order.
Inherited from
Section titled “Inherited from”registry?
Section titled “registry?”
optionalregistry:Readonly<Record<string,AsyncResolver>>
Defined in: packages/core/dist/index.d.ts:318
Named resolvers for everything a flow cannot serialize.
Inherited from
Section titled “Inherited from”state?
Section titled “state?”
optionalstate:WizardState
Defined in: packages/core/dist/index.d.ts:326
A previously serialized state, for resuming a session.
Inherited from
Section titled “Inherited from”subFlows?
Section titled “subFlows?”
optionalsubFlows:Readonly<Record<string,FlowDefinition>>
Defined in: packages/core/dist/index.d.ts:334
Sub-flow definitions a string GroupStep.flow names.
Inherited from
Section titled “Inherited from”wizard?
Section titled “wizard?”
optionalwizard:Wizard<FlowDefinition>
Defined in: packages/react/src/v1/index.tsx:74
An existing engine. Supply this or flow, not both.