Manta Developers
GitHub
Menu

@manta-eu/react/work-progress

Reference for @manta-eu/react/work-progress as it is on main.

Type Aliases

WorkProgressCount

WorkProgressCount = object

Properties

accent?

optional accent?: boolean

label

label: string

value

value: number


WorkProgressLine

WorkProgressLine = object

Properties

error?

optional error?: string

icon?

optional icon?: ReactNode

id

id: string

label

label: string

state

state: WorkProgressState


WorkProgressProps

WorkProgressProps = object

Properties

children?

optional children?: ReactNode

className?

optional className?: string

completeLabel?

optional completeLabel?: string

counts?

optional counts?: readonly WorkProgressCount[]

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

WorkProgressProps

Returns

Element