Skip to main content

MandateWizardProps

@mandaitor/react


@mandaitor/react / MandateWizardProps

Interface: MandateWizardProps

Defined in: components/MandateWizard.d.ts:39

Props for MandateWizard: the available actions/resources, optional templates, and default delegate.

Properties

availableActions

availableActions: WizardAction[]

Defined in: components/MandateWizard.d.ts:41

Available actions to select from


availableResources?

optional availableResources?: string[]

Defined in: components/MandateWizard.d.ts:43

Available resource patterns


className?

optional className?: string

Defined in: components/MandateWizard.d.ts:59

Additional CSS class


defaultDelegate?

optional defaultDelegate?: Subject

Defined in: components/MandateWizard.d.ts:47

Default delegate subject


defaultResources?

optional defaultResources?: string[]

Defined in: components/MandateWizard.d.ts:49

Default resources


enableVUI?

optional enableVUI?: boolean

Defined in: components/MandateWizard.d.ts:51

Enable the VUI instruction step


onCancel?

optional onCancel?: () => void

Defined in: components/MandateWizard.d.ts:55

Called when the wizard is cancelled

Returns

void


onError?

optional onError?: (error) => void

Defined in: components/MandateWizard.d.ts:57

Called on errors

Parameters

error

Error

Returns

void


onMandateCreated?

optional onMandateCreated?: (mandate) => void

Defined in: components/MandateWizard.d.ts:53

Called when a mandate is created

Parameters

mandate

Mandate

Returns

void


templates?

optional templates?: WizardTemplate[]

Defined in: components/MandateWizard.d.ts:45

Optional templates for quick setup