import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { me } from '../../../initial_state'; import IconButton from '../../../components/icon_button'; import Icon from '../../../components/icon'; const messages = defineMessages({ close: { id: 'lightbox.close', defaultMessage: 'Close' }, }); const mapStateToProps = state => { return { account: state.getIn(['accounts', me]), }; }; class ProUpgradeModal extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, onClose: PropTypes.func.isRequired, }; onClickClose = () => { this.props.onClose('PRO_UPGRADE'); }; render () { const { intl } = this.props; return (

  • Schedule Posts
  • Get Verified
  • Create Groups
  • Larger Video and Image Uploads
  • Receive the PRO Badge
  • Remove in-feed promotions
  • More value being added daily!
); } } export default injectIntl(connect(mapStateToProps)(ProUpgradeModal));