initial commit
This commit is contained in:
15
src/components/SightingOverview/SightingCanvas.tsx
Normal file
15
src/components/SightingOverview/SightingCanvas.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useLatestSighting } from "../../hooks/useLatestSighting";
|
||||
|
||||
const SightingCanvas = () => {
|
||||
const { canvasRef } = useLatestSighting();
|
||||
return (
|
||||
<div className="w-70 flex flex-col">
|
||||
<canvas
|
||||
ref={canvasRef}
|
||||
className="items-center w-full h-10 object-contain block"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SightingCanvas;
|
||||
Reference in New Issue
Block a user