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

21 lines
584 B
TypeScript
Raw Normal View History

import React from 'react';
import { Modal } from 'soapbox/components/ui';
2022-11-15 09:23:36 -08:00
import DetailedCryptoAddress from 'soapbox/features/crypto-donate/components/detailed-crypto-address';
2022-11-15 09:23:36 -08:00
import type { ICryptoAddress } from '../../crypto-donate/components/crypto-address';
const CryptoDonateModal: React.FC<ICryptoAddress & { onClose: () => void }> = ({ onClose, ...props }) => {
return (
<Modal onClose={onClose} width='xs'>
<div className='crypto-donate-modal'>
<DetailedCryptoAddress {...props} />
</div>
</Modal>
);
};
export default CryptoDonateModal;