@manta-eu/react/flow-frame
Reference for @manta-eu/react/flow-frame as it is on main.
Type Aliases
FlowFrameActionsProps
FlowFrameActionsProps =
object
Properties
above?
optionalabove?:ReactNode
children
children:
ReactNode
className?
optionalclassName?:string
error?
optionalerror?:boolean
itemSelector?
optionalitemSelector?:string
Items counted toward “+N more below”.
lead?
optionallead?:ReactNode
note?
optionalnote?:ReactNode
status?
optionalstatus?:ReactNode
statusKey?
optionalstatusKey?:string
A string status is its own key.
FlowFrameProps
FlowFrameProps =
object
Properties
animateFirstScreen?
optionalanimateFirstScreen?:boolean
For apps that mount a new frame per route.
backdrop?
optionalbackdrop?:ReactNode
children
children:
ReactNode
className?
optionalclassName?:string
completeLabel?
optionalcompleteLabel?:string
current
current:
number
steps.length once done.
description?
optionaldescription?:ReactNode
end?
optionalend?:ReactNode
label
label:
string
logo?
optionallogo?:ReactNode
onBack?
optionalonBack?: () =>void
Without it, logo takes the Back button’s place.
Returns
void
onStepSelect?
optionalonStepSelect?: (index) =>void
Parameters
index
number
Returns
void
order
order:
number
Sets the slide direction.
pageClassName?
optionalpageClassName?:string
previousOrder?
optionalpreviousOrder?:number
previousStep?
optionalpreviousStep?:number
screen
screen:
string
A new key animates the next screen in.
screenClassName?
optionalscreenClassName?:string
steps
steps:
StepperStep[]
title
title:
string| readonly [string,string]
A pair’s second part is muted.
Functions
FlowFrame()
FlowFrame(
props):Element
One question per screen; pair with FlowFrameActions.
Parameters
props
Returns
Element
FlowFrameActions()
FlowFrameActions(
props):Element
Parameters
props
Returns
Element