import PureRenderMixin from 'react-addons-pure-render-mixin'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Avatar from '../../../components/avatar'; import IconButton from '../../../components/icon_button'; import DisplayName from '../../../components/display_name'; const ReplyIndicator = React.createClass({ propTypes: { status: ImmutablePropTypes.map.isRequired, onCancel: React.PropTypes.func.isRequired }, mixins: [PureRenderMixin], handleClick () { this.props.onCancel(); }, render () { let content = { __html: this.props.status.get('content') }; return (
); } }); export default ReplyIndicator;