@blueprintjs/core
Version:
Core styles & components
30 lines (29 loc) • 986 B
TypeScript
/// <reference types="react" />
import { AbstractPureComponent2 } from "../../common";
import { IntentProps, Props } from "../../common/props";
export declare type ProgressBarProps = IProgressBarProps;
/** @deprecated use ProgressBarProps */
export interface IProgressBarProps extends Props, IntentProps {
/**
* 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<ProgressBarProps> {
static displayName: string;
render(): JSX.Element;
}