@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?
optionalaction?:ReactNode
backLabel?
optionalbackLabel?:string
children?
optionalchildren?:ReactNode
className?
optionalclassName?:string
current
current:
number
The index of the step in progress; steps.length once every step is done.
description?
optionaldescription?:ReactNode
labels?
optionallabels?:Partial<SetupStepsLabels>
The component’s own words, for another language.
logo?
optionallogo?:ReactNode
name
name:
string
note?
optionalnote?:ReactNode
A line above the actions, announced politely when it changes, such as “Checking access…”.
onBack?
optionalonBack?: () =>void
Returns
void
status?
optionalstatus?:SetupStepsStatus
steps
steps:
StepperStep[]
title
title:
string
SetupStepsStatus
SetupStepsStatus =
object
Properties
label
label:
string
variant
variant:
StatusVariant
Functions
SetupSteps()
SetupSteps(
props):Element
Parameters
props
Returns
Element