Files
ncd-fe/packages/pl-fe/src/modals/crypto-donate-modal.tsx
Nicole Mikołajczyk e350c616b8 pl-fe: move more stuff around
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
2025-05-03 17:35:43 +02:00

20 lines
609 B
TypeScript

import React from 'react';
import Modal from 'pl-fe/components/ui/modal';
import DetailedCryptoAddress from 'pl-fe/features/crypto-donate/components/detailed-crypto-address';
import type { ICryptoAddress } from 'pl-fe/features/crypto-donate/components/crypto-address';
import type { BaseModalProps } from 'pl-fe/features/ui/components/modal-root';
const CryptoDonateModal: React.FC<BaseModalProps & ICryptoAddress> = ({ onClose, ...props }) => {
return (
<Modal onClose={onClose} width='xs'>
<DetailedCryptoAddress {...props} />
</Modal>
);
};
export { CryptoDonateModal as default };