var classNames = require('classnames'); var FormattedMessage = require('react-intl').FormattedMessage; var injectIntl = require('react-intl').injectIntl; var React = require('react'); var SocialMessage = require('../../../components/social-message/social-message.jsx'); var UserJoinMessage = injectIntl(React.createClass({ type: 'UserJoinMessage', propTypes: { datetimeJoined: React.PropTypes.string.isRequired }, render: function () { var exploreText = this.props.intl.formatMessage({id: 'general.explore'}); var projectText = this.props.intl.formatMessage({id: 'messages.userJoinMakeProject'}); var classes = classNames( 'mod-user-join', this.props.className ); return ( {exploreText}, makeProjectLink: {projectText} }} /> ); } })); module.exports = UserJoinMessage;