import * as React from 'react'; export interface IAvatar { className?: string; src: string; size?: 'sm' | 'lg' | 'xl'; [x: string]: any; } export const Avatar: React.FC = (props) => { const { className = '', src = '', size = '', ...otherProps } = props; let noPhotoClass = ''; let imageURL = 'https://buffiniandcompany.blob.core.windows.net/global/images/icon-no-photo.jpg'; if (src !== '' || src !== null) { imageURL = src; } return ; };