Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	File size: 593 Bytes
			
			| 6bcb42f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | import classNames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
import styles from './user-avatar.css';
const UserAvatar = ({
    className,
    imageUrl,
    username
}) => (
    <a target="_blank" href={"https://penguinmod.com/profile?user=" + username}>
        <img
            className={classNames(
                className,
                styles.userThumbnail
            )}
            src={imageUrl}
        />
    </a>
);
UserAvatar.propTypes = {
    className: PropTypes.string,
    imageUrl: PropTypes.string
};
export default UserAvatar;
 | 
