@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
20 lines • 806 B
TypeScript
export interface AvatarClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if not `src` or `srcSet`. */
colorDefault: string;
/** Styles applied to the root element if `variant="circular"`. */
circular: string;
/** Styles applied to the root element if `variant="rounded"`. */
rounded: string;
/** Styles applied to the root element if `variant="square"`. */
square: string;
/** Styles applied to the img element if either `src` or `srcSet` is defined. */
img: string;
/** Styles applied to the fallback icon */
fallback: string;
}
export type AvatarClassKey = keyof AvatarClasses;
export declare function getAvatarUtilityClass(slot: string): string;
declare const avatarClasses: AvatarClasses;
export default avatarClasses;