@manta-eu/react/work-progress
Reference for @manta-eu/react/work-progress as it is on main.
Type Aliases
WorkProgressCount
WorkProgressCount =
object
Properties
accent?
optionalaccent?:boolean
label
label:
string
value
value:
number
WorkProgressLine
WorkProgressLine =
object
Properties
error?
optionalerror?:string
icon?
optionalicon?:ReactNode
id
id:
string
label
label:
string
state
state:
WorkProgressState
WorkProgressProps
WorkProgressProps =
object
Properties
children?
optionalchildren?:ReactNode
className?
optionalclassName?:string
completeLabel?
optionalcompleteLabel?:string
counts?
optionalcounts?: readonlyWorkProgressCount[]
label
label:
string
lines
lines: readonly
WorkProgressLine[]
WorkProgressState
WorkProgressState =
"waiting"|"running"|"done"|"failed"
Functions
currentWorkLine()
currentWorkLine(
lines):number
Parameters
lines
readonly WorkProgressLine[]
Returns
number
WorkProgress()
WorkProgress(
props):Element
Parameters
props
Returns
Element