TLoadingValue

type
Interaction & State

Loading prop value — boolean (on/off), number (percentage), or structured loader config object.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

number
false
true
{ type: "line"; } & Partial<IProgressLinearProps>
{ type: "circular"; } & Partial<IProgressCircularProps>
{ type: "skeleton"; } & Partial<ISkeletonProps>

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Boolean — indeterminate loading

html

Number — determinate progress (0–100)

html

Config object — explicit loader kind

html