import 'standardCard.scss';
import Format from '../../cmp/format/Format.jsx';

const StandardCard = D.declare('view.cmp.StandardCard', (item) => {
    return<div className="card-slider__item">
        <div class={D.cls('standard-card', {'standard-card--seen': item.seen})}>
            <div className="standard-card__image">
                <img src={item.image} alt=""/>
            </div>
            <div className="standard-card__text">
                <Format>{item.text}</Format>
            </div>
        </div>
    </div>
})

export default StandardCard;
export {StandardCard};
