UNPKG

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