import React from 'react' ; import cx from 'classnames' ; import artPlaceholder from '../../../resources/media/art_placeholder.png' ; import common from '../../common.scss' ; import styles from './styles.scss' ; type CoverProps = { cover ? : string ; } ; const Cover = ( { cover = String ( artPlaceholder ) } ) => ( < div className = { cx ( common . nuclear , styles . cover_container ) } > < img src = { cover || String ( artPlaceholder ) } /> < /div>); export default Cover ;