import React from 'react';
import { block } from 'bem-cn';

const b = block('promocode-tip');

export default ({ promocode }) => promocode ? (
    <span className={b()}>
        {promocode.id}<br />
        {promocode.description}
    </span>
) : null;
