components/progress
Type Aliases
Section titled “Type Aliases”ProgressTone
Section titled “ProgressTone”ProgressTone =
"neutral"|"primary"|"secondary"|"accent"|"success"|"info"|"warning"|"error"
Supported ProgressTone values.
ProgressProps
Section titled “ProgressProps”ProgressProps =
object&ProgressHTMLAttributes<HTMLProgressElement>>
Props accepted by Progress.
Type Declaration
Section titled “Type Declaration”
optionaltone?:ProgressTone
GameMeterProps
Section titled “GameMeterProps”GameMeterProps =
Omit<HTMLAttributes<HTMLDivElement>>,"children"> > &object
A compact labelled resource meter for game windows. Values come from the game.
Type Declaration
Section titled “Type Declaration”label:
string
value:
number
max:
number
optionaltone?:ProgressTone
Variables
Section titled “Variables”Progress
Section titled “Progress”
constProgress:ForwardRefExoticComponent<object&ProgressHTMLAttributes<HTMLProgressElement> > &RefAttributes<HTMLProgressElement>>>>
A progress indicator for caller-provided progress values.
GameMeter
Section titled “GameMeter”
constGameMeter:ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>>,"children"> > &object&RefAttributes<HTMLDivElement>>>>
Pair a game’s bounded resource value with its visible and accessible meter.