import React from 'react'; import { View, Text, Button, Modal, StyleSheet } from 'react-native'; const ProductModal = ({ visible, product, onClose, onAddToCart }) => ( {product.name} {product.description} Price: ${product.price}