import React from 'react' import PropTypes from 'prop-types' import { injectIntl, defineMessages } from 'react-intl' import { monthlyExpensesComplete } from '../../initial_state' import { URL_DISSENTER_SHOP, URL_DISSENTER_SHOP_DONATIONS, } from '../../constants' import PanelLayout from './panel_layout'; import ProgressBar from '../progress_bar' import Button from '../button' import Text from '../text' import Icon from '../icon' class ProgressPanel extends React.PureComponent { render() { const { intl } = this.props if (!monthlyExpensesComplete) return null const value = Math.min(parseFloat(monthlyExpensesComplete), 100) const subtitle = (