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

33 lines
792 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 CoinList from './coin_list';
const messages = defineMessages({
heading: { id: 'column.cryptocoin', defaultMessage: 'Donate Cryptocurrency' },
});
export default
@injectIntl
class Cryptocoin extends ImmutablePureComponent {
static propTypes = {
intl: PropTypes.object.isRequired,
};
render() {
const { intl } = this.props;
return (
<Column icon='bitcoin' heading={intl.formatMessage(messages.heading)} backBtnSlim>
<div className='cryptocoin'>
<CoinList />
</div>
</Column>
);
}
}