Interface ProgressBarProps

Omit max and value to make the progress bar indeterminate.

interface ProgressBarProps {
    error?: boolean;
    inline?: boolean;
    label?: string;
    max?: number;
    value?: number;
}

Properties

error?: boolean
inline?: boolean

When set to true, will be display: inline;

label?: string
max?: number

This attribute describes how much work the task indicated by the progress element requires. The max attribute, if present, must have a value greater than 0 and be a valid floating point number. The default value is 1.

value?: number

This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and max, or between 0 and 1 if max is omitted. If there is no value attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.