diff --git a/src/components/MyWallet/WalletAction.jsx b/src/components/MyWallet/WalletAction.jsx new file mode 100644 index 0000000..3b25d3e --- /dev/null +++ b/src/components/MyWallet/WalletAction.jsx @@ -0,0 +1,49 @@ +import React from 'react' +import { Link } from 'react-router-dom'; + +function WalletAction({walletItem, payment, openPopUp}) { + return ( +
+ Current Balance +
++ {PriceFormatter( + walletItem.amount * 0.01, + walletItem.code, + undefined, + "text-[2rem]" + )} +
++ HOLDINGS :{" "} + + {PriceFormatter( + walletItem.escrow * 0.01, + walletItem.code, + undefined, + "text-[2rem]" + )} + +
+Current Balance
@@ -70,54 +95,17 @@ export default function WalletItemCard({ walletItem, payment }) {