import { Box, Paper, Typography } from '@mui/material'; import Image from 'next/image'; import PropType from 'prop-types'; const DataCard = ({ data, quantity }) => { return ( profile {data.name} x{quantity} ${data.price} (per unit) ); }; DataCard.propTypes = { product: PropType.shape({ category: PropType.string, name: PropType.string, image: PropType.string, description: PropType.string, place: PropType.string, people: PropType.string, process: PropType.string, pairing: PropType.string, available: PropType.Boolean, isFeatured: PropType.Boolean, price: PropType.number, customID: PropType.string, }), quantity: PropType.number, }; export default DataCard;