bigbuffet-rw/app/soapbox/features/ui/components/crypto_donate_modal.js

22 lines
543 B
JavaScript

import PropTypes from 'prop-types';
import React from 'react';
import DetailedCryptoAddress from 'soapbox/features/crypto_donate/components/detailed_crypto_address';
export default class CryptoDonateModal extends React.PureComponent {
static propTypes = {
address: PropTypes.string.isRequired,
ticker: PropTypes.string.isRequired,
note: PropTypes.string,
};
render() {
return (
<div className='modal-root__modal crypto-donate-modal'>
<DetailedCryptoAddress {...this.props} />
</div>
);
}
}