2021-06-09 10:38:03 -07:00
|
|
|
import React from 'react';
|
|
|
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import ImmutablePureComponent from 'react-immutable-pure-component';
|
|
|
|
import Column from '../ui/components/column';
|
2021-06-09 15:11:37 -07:00
|
|
|
import SiteWallet from './components/site_wallet';
|
2021-06-09 10:38:03 -07:00
|
|
|
|
|
|
|
const messages = defineMessages({
|
2021-06-09 15:11:37 -07:00
|
|
|
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' },
|
2021-06-09 10:38:03 -07:00
|
|
|
});
|
|
|
|
|
|
|
|
export default
|
|
|
|
@injectIntl
|
2021-06-09 15:11:37 -07:00
|
|
|
class CryptoDonate extends ImmutablePureComponent {
|
2021-06-09 10:38:03 -07:00
|
|
|
|
|
|
|
static propTypes = {
|
|
|
|
intl: PropTypes.object.isRequired,
|
|
|
|
};
|
|
|
|
|
|
|
|
render() {
|
|
|
|
const { intl } = this.props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Column icon='bitcoin' heading={intl.formatMessage(messages.heading)} backBtnSlim>
|
2021-06-09 15:11:37 -07:00
|
|
|
<div className='crypto-donate'>
|
|
|
|
<SiteWallet />
|
2021-06-09 10:38:03 -07:00
|
|
|
</div>
|
|
|
|
</Column>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|