30 lines
No EOL
1.9 KiB
TypeScript
30 lines
No EOL
1.9 KiB
TypeScript
export interface CircularProgressClasses {
|
|
/** Styles applied to the root element. */
|
|
root: string;
|
|
/** Styles applied to the root element if `variant="determinate"`. */
|
|
determinate: string;
|
|
/** Styles applied to the root element if `variant="indeterminate"`. */
|
|
indeterminate: string;
|
|
/** Styles applied to the root element if `color="primary"`. */
|
|
colorPrimary: string;
|
|
/** Styles applied to the root element if `color="secondary"`. */
|
|
colorSecondary: string;
|
|
/** Styles applied to the svg element. */
|
|
svg: string;
|
|
/** Styles applied to the `circle` svg path. */
|
|
circle: string;
|
|
/** Styles applied to the `circle` svg path if `variant="determinate"`.
|
|
* @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.
|
|
*/
|
|
circleDeterminate: string;
|
|
/** Styles applied to the `circle` svg path if `variant="indeterminate"`.
|
|
* @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.
|
|
*/
|
|
circleIndeterminate: string;
|
|
/** Styles applied to the `circle` svg path if `disableShrink={true}`. */
|
|
circleDisableShrink: string;
|
|
}
|
|
export type CircularProgressClassKey = keyof CircularProgressClasses;
|
|
export declare function getCircularProgressUtilityClass(slot: string): string;
|
|
declare const circularProgressClasses: CircularProgressClasses;
|
|
export default circularProgressClasses; |