UNPKG

835 BTypeScriptView Raw
1export interface AvatarClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if not `src` or `srcSet`. */
5 colorDefault: string;
6 /** Styles applied to the root element if `variant="circular"`. */
7 circular: string;
8 /** Styles applied to the root element if `variant="rounded"`. */
9 rounded: string;
10 /** Styles applied to the root element if `variant="square"`. */
11 square: string;
12 /** Styles applied to the img element if either `src` or `srcSet` is defined. */
13 img: string;
14 /** Styles applied to the fallback icon */
15 fallback: string;
16}
17export type AvatarClassKey = keyof AvatarClasses;
18export declare function getAvatarUtilityClass(slot: string): string;
19declare const avatarClasses: AvatarClasses;
20export default avatarClasses;