All files / src/components/Card/Image index.jsx

66.67% Statements 2/3
100% Branches 0/0
0% Functions 0/1
100% Lines 2/2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16            7x       7x          
import styles from './style.postcss';
 
import React from 'react';
import pure from 'recompose/pure';
import PropTypes from 'prop-types';
 
const Image = (props) => <img className={styles.Image}
    alt={props.alt}
    {...props} />;
 
Image.propTypes = {
  alt: PropTypes.string,
};
 
export default pure(Image);