import { StyleSheet, View } from "react-native"; import type { ThirdwebClient } from "../../../../client/client.js"; import { shortenAddress } from "../../../../utils/address.js"; import type { Account, Wallet } from "../../../../wallets/interfaces/wallet.js"; import type { Theme } from "../../../core/design-system/index.js"; import { spacing } from "../../design-system/index.js"; import { Address } from "../components/Address.js"; import { type ContainerType, Header } from "../components/Header.js"; import { Spacer } from "../components/spacer.js"; import { ThemedText } from "../components/text.js"; import { WalletImage } from "../components/WalletImage.js"; type ReceiveScreenProps = { theme: Theme; wallet: Wallet; account: Account; onClose?: () => void; onBack?: () => void; containerType: ContainerType; client: ThirdwebClient; }; export const ReceiveScreen = (props: ReceiveScreenProps) => { const { wallet, account, theme, onClose, onBack, containerType, client } = props; return ( <>
{/* TODO (rn) QR code scanning */}
Copy your address to send funds to this wallet ); }; const styles = StyleSheet.create({ addressContainer: { alignItems: "center", borderRadius: spacing.lg, borderWidth: 1, flexDirection: "row", gap: spacing.sm, justifyContent: "center", padding: spacing.md, width: "100%", }, container: { alignItems: "center", flex: 1, flexDirection: "column", gap: spacing.md, justifyContent: "center", paddingHorizontal: spacing.lg, paddingVertical: spacing.xxl, }, });