Manta Developers
GitHub
Menu

@manta-eu/react/setup-steps

Reference for @manta-eu/react/setup-steps as it is on main.

Type Aliases

SetupStepsLabels

SetupStepsLabels = object

Properties

stepOf

stepOf: (step, count) => string

The count beside the name, which the stepper also announces: “Step 2 of 3”.

Parameters
step

number

count

number

Returns

string

steps

steps: (name) => string

Names the stepper for assistive technology: “Connect Shopify steps”.

Parameters
name

string

Returns

string


SetupStepsProps

SetupStepsProps = object

Properties

action?

optional action?: ReactNode

backLabel?

optional backLabel?: string

children?

optional children?: ReactNode

className?

optional className?: string

current

current: number

The index of the step in progress; steps.length once every step is done.

description?

optional description?: ReactNode

labels?

optional labels?: Partial<SetupStepsLabels>

The component’s own words, for another language.

optional logo?: ReactNode

name

name: string

note?

optional note?: ReactNode

A line above the actions, announced politely when it changes, such as “Checking access…”.

onBack?

optional onBack?: () => void

Returns

void

status?

optional status?: SetupStepsStatus

steps

steps: StepperStep[]

title

title: string


SetupStepsStatus

SetupStepsStatus = object

Properties

label

label: string

variant

variant: StatusVariant

Functions

SetupSteps()

SetupSteps(props): Element

Parameters

props

SetupStepsProps

Returns

Element