import { Card, Button, Container, Row, Col } from 'react-bootstrap'; import {Link} from 'react-router-dom'; // import AOS from 'aos'; export default function ProductCard({prodProp, data}) { const {_id, name, description, price, image} = (prodProp || data); // Convert to local currency const convertPrice = price.toLocaleString('fil-PH', { style: 'currency', currency: 'PHP', minimumFractionDigits: 2, maximumFractionDigits: 2, }); return (
{name} Description: {description} Price: {convertPrice}
{ image ? :

Product image unavailable

}
) }