import * as React from 'react'; import * as classnames from 'classnames'; import Image from './image'; const Avatar = (props: { imgSrc?: string, height: number, width: number, circle?: boolean, avatarStyle?: any, wrapperStyle?: any, wrapperClass?: string, avatarClass?: string }) => { const { imgSrc, height, width, circle, avatarStyle, wrapperStyle, wrapperClass, avatarClass } = props; const avatarWrapperClass = classnames('avatar-wrapper', wrapperClass, { circle }); const innerWrapper = classnames('avatar', avatarClass, { circle }); return (