bigbuffet-rw/app/soapbox/features/ui/components/modals/crypto-donate-modal.tsx
2022-11-16 09:34:16 -05:00

20 lines
587 B
TypeScript

import React from 'react';
import { Modal } from 'soapbox/components/ui';
import DetailedCryptoAddress from 'soapbox/features/crypto-donate/components/detailed-crypto-address';
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;