UNPKG

1.99 kBTypeScriptView Raw
1export interface CircularProgressClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `variant="determinate"`. */
5 determinate: string;
6 /** Styles applied to the root element if `variant="indeterminate"`. */
7 indeterminate: string;
8 /** Styles applied to the root element if `color="primary"`. */
9 colorPrimary: string;
10 /** Styles applied to the root element if `color="secondary"`. */
11 colorSecondary: string;
12 /** Styles applied to the svg element. */
13 svg: string;
14 /** Styles applied to the `circle` svg path. */
15 circle: string;
16 /** Styles applied to the `circle` svg path if `variant="determinate"`.
17 * @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-circle) and [.MuiCircularProgress-determinate](/material-ui/api/circular-progress/#circular-progress-classes-determinate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
18 */
19 circleDeterminate: string;
20 /** Styles applied to the `circle` svg path if `variant="indeterminate"`.
21 * @deprecated Combine the [.MuiCircularProgress-circle](/material-ui/api/circular-progress/#circular-progress-classes-circle) and [.MuiCircularProgress-indeterminate](/material-ui/api/circular-progress/#circular-progress-classes-indeterminate) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
22 */
23 circleIndeterminate: string;
24 /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
25 circleDisableShrink: string;
26}
27export type CircularProgressClassKey = keyof CircularProgressClasses;
28export declare function getCircularProgressUtilityClass(slot: string): string;
29declare const circularProgressClasses: CircularProgressClasses;
30export default circularProgressClasses;