bigbuffet-rw/app/soapbox/features/ui/components/crypto_donate_modal.tsx
marcin mikołajczak 7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00

20 lines
584 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;