UNPKG

776 BTypeScriptView Raw
1import * as React from "react";
2import { Omit, Sizes } from "react-bootstrap";
3
4declare namespace ProgressBar {
5 export interface ProgressBarProps extends Omit<React.HTMLProps<ProgressBar>, "label"> {
6 // Optional
7 active?: boolean | undefined;
8 bsSize?: Sizes | undefined;
9 bsStyle?: string | undefined;
10 bsClass?: string | undefined;
11 interpolatedClass?: any; // TODO: Add more specific type
12 max?: number | undefined;
13 min?: number | undefined;
14 now?: number | undefined;
15 srOnly?: boolean | undefined;
16 striped?: boolean | undefined;
17 label?: React.ReactNode | undefined;
18 }
19}
20declare class ProgressBar extends React.Component<ProgressBar.ProgressBarProps> {}
21export = ProgressBar;