Add Receive Modal With QRCode and Copy To Clipboard Functionality
Description
This PR adds a new Receive Modal component to the project. The component displays a Modal with the user wallet address with options to copy address, and view a QR. The QR code for receiving NFTs and crypto is another modal with a back button and a centered header text.
Changes Made
changed the dashboard items to be buttons so that they would be clickable.
created a new file QRModal.tsx
-created dummy fil ReceiveModal.tsx (deleted the file already, but is in previous commits)
cleaned out unused code on mobile dashboard src-mobile/src/views/Dashboard.tsx
worked on the copy to clipboard functionality for the receive model at src-mobile/src/components/modals/RecieveItem.tsx
worked on the QRCode functionality for the Receive modal. Created a new component at src-mobile/src/components/modals/QrModal.tsx
Checklist
✅ Code compiles without errors.
✅ Tested only on simulator, not with code.
✅ Making PR as requested by team lead.
Please review the changes and let me know if any adjustments are needed. Thank you!
Add Receive Modal With QRCode and Copy To Clipboard Functionality
Description This PR adds a new Receive Modal component to the project. The component displays a Modal with the user wallet address with options to copy address, and view a QR. The QR code for receiving NFTs and crypto is another modal with a back button and a centered header text.
Changes Made
Checklist ✅ Code compiles without errors. ✅ Tested only on simulator, not with code. ✅ Making PR as requested by team lead.
Please review the changes and let me know if any adjustments are needed. Thank you!