VendorDetailModal.js 609 Bytes
import React from 'react'
import { Modal } from 'react-bootstrap'
import VendorDetails from './VendorDetails';

const VendorDetailModal = ({setShowDetail, showDetail, detail}) => {
    console.log("detail", detail);
  return (
    <div>
       
        {/* <Modal show={showDetail} onHide={()=>{setShowDetail(false)}}>
            <Modal.Header closeButton>
                <Modal.Title>{detail[0].attributes.businessName}</Modal.Title>
            </Modal.Header>
            <Modal.Body>
                modal
            </Modal.Body>
        </Modal> */}
    </div>
  )
}

export default VendorDetailModal