27 lines
676 B
TypeScript
27 lines
676 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
|
|
export interface CircularProgressProps
|
|
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, CircularProgressClassKey> {
|
|
color?: 'primary' | 'secondary' | 'inherit';
|
|
max?: number;
|
|
min?: number;
|
|
size?: number | string;
|
|
thickness?: number;
|
|
value?: number;
|
|
variant?: 'determinate' | 'indeterminate' | 'static';
|
|
}
|
|
|
|
export type CircularProgressClassKey =
|
|
| 'root'
|
|
| 'colorPrimary'
|
|
| 'colorSecondary'
|
|
| 'svg'
|
|
| 'svgIndeterminate'
|
|
| 'circle'
|
|
| 'circleIndeterminate';
|
|
|
|
declare const CircularProgress: React.ComponentType<CircularProgressProps>;
|
|
|
|
export default CircularProgress;
|