weird zoom bug
This commit is contained in:
23
src/components/VehicleMap/popup.jsx
Normal file
23
src/components/VehicleMap/popup.jsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import React from "react";
|
||||
import Dialog from '@material-ui/core/Dialog';
|
||||
import DialogTitle from '@material-ui/core/DialogTitle';
|
||||
|
||||
const VehiclePopUp = ({ vin, online, doors, location, windows }) => {
|
||||
console.log(location);
|
||||
return (
|
||||
<Dialog aria-labelledby="simple-dialog-title" open={true}>
|
||||
<DialogTitle>{vin}</DialogTitle>
|
||||
<p>{online.toString()}</p>
|
||||
{/* {doors != null && (
|
||||
<ul>
|
||||
{doors.forEach((value, key) => (<li>{key}: {value.toString()}</li>))}
|
||||
</ul>
|
||||
)}
|
||||
<ul>
|
||||
{location != null && location.forEach((value, key) => (<li>{key}: {value.toString()}</li>))}
|
||||
</ul> */}
|
||||
</Dialog>
|
||||
);
|
||||
};
|
||||
|
||||
export { VehiclePopUp };
|
||||
Reference in New Issue
Block a user