@blueprintjs/core
Version:
Core styles & components
26 lines (25 loc) • 883 B
TypeScript
/// <reference types="react" />
import { AbstractPureComponent2 } from "../../common";
import { IIntentProps, IProps } from "../../common/props";
export interface IProgressBarProps extends IProps, IIntentProps {
/**
* Whether the background should animate.
* @default true
*/
animate?: boolean;
/**
* Whether the background should be striped.
* @default true
*/
stripes?: boolean;
/**
* A value between 0 and 1 (inclusive) representing how far along the operation is.
* Values below 0 or above 1 will be interpreted as 0 or 1, respectively.
* Omitting this prop will result in an "indeterminate" progress meter that fills the entire bar.
*/
value?: number;
}
export declare class ProgressBar extends AbstractPureComponent2<IProgressBarProps, {}> {
static displayName: string;
render(): JSX.Element;
}