1 | /// <reference types="react" />
|
2 | import { AbstractPureComponent2 } from "../../common";
|
3 | import { IntentProps, Props } from "../../common/props";
|
4 | export declare type ProgressBarProps = IProgressBarProps;
|
5 | /** @deprecated use ProgressBarProps */
|
6 | export interface IProgressBarProps extends Props, IntentProps {
|
7 | /**
|
8 | * Whether the background should animate.
|
9 | *
|
10 | * @default true
|
11 | */
|
12 | animate?: boolean;
|
13 | /**
|
14 | * Whether the background should be striped.
|
15 | *
|
16 | * @default true
|
17 | */
|
18 | stripes?: boolean;
|
19 | /**
|
20 | * A value between 0 and 1 (inclusive) representing how far along the operation is.
|
21 | * Values below 0 or above 1 will be interpreted as 0 or 1, respectively.
|
22 | * Omitting this prop will result in an "indeterminate" progress meter that fills the entire bar.
|
23 | */
|
24 | value?: number;
|
25 | }
|
26 | export declare class ProgressBar extends AbstractPureComponent2<ProgressBarProps> {
|
27 | static displayName: string;
|
28 | render(): JSX.Element;
|
29 | }
|