UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

22 lines (17 loc) 551 B
import * as React from 'react'; import { OverridableComponent, SimplifiedPropsOf } from '../OverridableComponent'; declare const Avatar: OverridableComponent<{ props: { alt?: string; childrenClassName?: string; imgProps?: React.ImgHTMLAttributes<HTMLImageElement>; sizes?: string; src?: string; srcSet?: string; }; defaultComponent: 'div'; classKey: AvatarClassKey; }>; export type AvatarClassKey = 'root' | 'colorDefault' | 'img'; export type AvatarProps = SimplifiedPropsOf<typeof Avatar>; export default Avatar;