var classNames = require('classnames'); var FormattedMessage = require('react-intl').FormattedMessage; var React = require('react'); var SocialMessage = require('../../../components/social-message/social-message.jsx'); var LoveProjectMessage = React.createClass({ type: 'LoveProjectMessage', propTypes: { actorUsername: React.PropTypes.string.isRequired, projectId: React.PropTypes.number.isRequired, projectTitle: React.PropTypes.string.isRequired, loveDateTime: React.PropTypes.string.isRequired }, render: function () { var projectLink = '/projects/' + this.props.projectId; var profileLink = '/users/' + this.props.actorUsername; var classes = classNames( 'mod-love-project', this.props.className ); return ( {this.props.actorUsername} , projectLink: {this.props.projectTitle} }} /> ); } }); module.exports = LoveProjectMessage;