38 lines
821 B
TypeScript
38 lines
821 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
|
|
export interface LinearProgressProps extends StandardProps<
|
|
React.HTMLAttributes<HTMLDivElement>,
|
|
LinearProgressClassKey
|
|
> {
|
|
color?: 'primary' | 'accent';
|
|
mode?: 'determinate' | 'indeterminate' | 'buffer' | 'query';
|
|
value?: number;
|
|
valueBuffer?: number;
|
|
}
|
|
|
|
export type LinearProgressClassKey =
|
|
| 'root'
|
|
| 'primaryColor'
|
|
| 'primaryColorBar'
|
|
| 'primaryDashed'
|
|
| 'accentColor'
|
|
| 'accentColorBar'
|
|
| 'accentDashed'
|
|
| 'bar'
|
|
| 'dashed'
|
|
| 'bufferBar2'
|
|
| 'rootBuffer'
|
|
| 'rootQuery'
|
|
| 'indeterminateBar1'
|
|
| 'indeterminateBar2'
|
|
| 'determinateBar1'
|
|
| 'bufferBar1'
|
|
| 'bufferBar2Primary'
|
|
| 'bufferBar2Accent'
|
|
;
|
|
|
|
declare const LinearProgress: React.ComponentType<LinearProgressProps>;
|
|
|
|
export default LinearProgress;
|