Mixins / foldkit-mixins-ui

ProgressSection

interface · packages/mixins-ui/src/progress.ts:37

interface ProgressSection {
  readonly label: string
  readonly value: number
  readonly tone?: ProgressTone | undefined
}

One part of a stacked bar.

In the guides

Members

ProgressSection.label

property · packages/mixins-ui/src/progress.ts:39

readonly label: string

What this part is, read aloud with its value.

ProgressSection.value

property · packages/mixins-ui/src/progress.ts:41

readonly value: number

Its size, in the bar's range.

ProgressSection.tone

property · packages/mixins-ui/src/progress.ts:42

readonly tone?: ProgressTone | undefined