interface LinearProgressProps {
    accessibleText: string;
    customAttribute?: {
        attribute: string;
        value: string | number;
    };
    size?: "default" | "thin";
    value?: number;
}

Properties

accessibleText: string

Alternative text for screen reader for the loader. Make it concrete and informative, e.g. "Loading departures, please wait...". Mandatory for WCAG 2.1.

customAttribute?: {
    attribute: string;
    value: string | number;
}

Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".

size?: "default" | "thin"

Size of the progress bar. Default is "default", but can be set to "thin" for a slimmer version.

value?: number

The value of the progress indicator for the determinate variant. Value between 0 and 100.