/**
 *
 * Img
 *
 */

import React from 'react';
import PropTypes from 'prop-types';
// import styled from 'styled-components';

function Img(props) {
    return <img className={props.className} src={props.src} alt={props.alt} />;
}

Img.propTypes = {
    src: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,
    alt: PropTypes.string.isRequired,
    className: PropTypes.string,
};

export default Img;
