bigbuffet-rw/app/soapbox/features/crypto_donate/index.js

33 lines
817 B
JavaScript
Raw Normal View History

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';
import SiteWallet from './components/site_wallet';
2021-06-09 10:38:03 -07:00
const messages = defineMessages({
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' },
2021-06-09 10:38:03 -07:00
});
export default
@injectIntl
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>
<div className='crypto-donate'>
<SiteWallet />
2021-06-09 10:38:03 -07:00
</div>
</Column>
);
}
}