



'use strict';

import React, { Component } from 'react';

import './danmaItem.less';

class DanmaItem extends Component {
    constructor(props) {
        super(props);
    }

    render() {
        const { danmaText, danmaAvatar, style } = this.props
        return (
            <div className="dan_mu_2 " style={style}>
                <div className="gun_dong_xin_xi ">
                    <img className="yuan_jiao_ju_xing_2389 " src={"//yun.duiba.com.cn/spark/assets/c471a10228088d7db7ac6ecc4cbf513cf5f4ac92.png"} />
                    <span className="danmaText ">{danmaText}</span>
                </div>
                <div className="hao_you_tou_xiang ">
                    <img className="tuo_yuan_2076_kao_bei " src={"//yun.duiba.com.cn/spark/assets/dae05e04aaa462ff72dd9c143823e1df68c08e65.png"} />
                    <img
                        className="danmaAvatar "
                        src={danmaAvatar}
                    />
                </div>
            </div>
        );
    }
}

export default DanmaItem;
