import React, { useState, useEffect, useRef } from 'react'; import {Card} from 'react-bootstrap' function ListCard(props) { return ( <> {props.productlist.map((e)=>( {e.pro_name} {e.price} ))} ) } export default ListCard