@mui/material
Version:
React components that implement Google's Material Design.
45 lines (44 loc) • 2.23 kB
TypeScript
export interface AlertClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `variant="filled"`. */
filled: string;
/** Styles applied to the root element if `variant="outlined"`. */
outlined: string;
/** Styles applied to the root element if `variant="standard"`. */
standard: string;
/** Styles applied to the root element if `variant="standard"` and `color="success"`. */
standardSuccess: string;
/** Styles applied to the root element if `variant="standard"` and `color="info"`. */
standardInfo: string;
/** Styles applied to the root element if `variant="standard"` and `color="warning"`. */
standardWarning: string;
/** Styles applied to the root element if `variant="standard"` and `color="error"`. */
standardError: string;
/** Styles applied to the root element if `variant="outlined"` and `color="success"`. */
outlinedSuccess: string;
/** Styles applied to the root element if `variant="outlined"` and `color="info"`. */
outlinedInfo: string;
/** Styles applied to the root element if `variant="outlined"` and `color="warning"`. */
outlinedWarning: string;
/** Styles applied to the root element if `variant="outlined"` and `color="error"`. */
outlinedError: string;
/** Styles applied to the root element if `variant="filled"` and `color="success"`. */
filledSuccess: string;
/** Styles applied to the root element if `variant="filled"` and `color="info"`. */
filledInfo: string;
/** Styles applied to the root element if `variant="filled"` and `color="warning"`. */
filledWarning: string;
/** Styles applied to the root element if `variant="filled"` and `color="error"`. */
filledError: string;
/** Styles applied to the icon wrapper element. */
icon: string;
/** Styles applied to the message wrapper element. */
message: string;
/** Styles applied to the action wrapper element if `action` is provided. */
action: string;
}
export type AlertClassKey = keyof AlertClasses;
export declare function getAlertUtilityClass(slot: string): string;
declare const alertClasses: AlertClasses;
export default alertClasses;