Interface ProgressBarProps

interface ProgressBarProps {
    height?: string;
    max: number;
    progressBarClassName?: string;
    progressBarColor?: string;
    progressBarStyle?: CSSProperties;
    progressContainerClassName?: string;
    progressContainerColor?: string;
    progressContainerStyle?: CSSProperties;
    value: number;
    width?: string;
}

Properties

height?: string

Height of the progress bar.

Default

5px
max: number

Max number. It should be a non-negative number too.

progressBarClassName?: string

class name for the container.

progressBarColor?: string

Color of the progress bar i.e the color of the bar.

Default

#FA541C
progressBarStyle?: CSSProperties

CSS properties that we can pass onto style prop of progress bar.

progressContainerClassName?: string

class name for the container.

progressContainerColor?: string

Color of the progress container i.e. the color that empty space will take.

Default

#EEEEEE
progressContainerStyle?: CSSProperties

CSS properties that we can pass onto style prop of progress bar container.

value: number

Progress number. It should be a non-negative number.

width?: string

Width of the progress bar.

Default

100%

Generated using TypeDoc