import { Button, Typography } from '@mui/material';
import { Box } from '@mui/system';
import PropType from 'prop-types';
const ShippingData = ({ email, address, city, postcode, handleOpen }) => {
return (
<>
Contact
{email}
Shipping to
{address} | {city} | {postcode}
>
);
};
ShippingData.propTypes = {
email: PropType.string,
address: PropType.string,
city: PropType.string,
postcode: PropType.string,
handleOpen: PropType.func,
};
export default ShippingData;