Files
BayIQ-UI/src/features/cameras/components/CameraGrid.tsx

27 lines
737 B
TypeScript
Raw Normal View History

import { useState } from "react";
import VideoFeedGridPainter from "./Video/VideoFeedGridPainter";
import CameraSettings from "./CameraSettings/CameraSettings";
import PlatePatch from "./PlatePatch/SightingPatch";
const CameraGrid = () => {
2025-11-24 13:29:00 +00:00
const [tabIndex, setTabIndex] = useState(0);
return (
<div className="grid grid-cols-1 md:grid-cols-3 md:gap-4 p-4 h-screen max-h-screen">
<div className="col-span-2 flex flex-col gap-4">
<div className="">
<VideoFeedGridPainter />
</div>
<div className="overflow-hidden">
<PlatePatch />
</div>
</div>
<CameraSettings tabIndex={tabIndex} setTabIndex={setTabIndex} />
</div>
);
};
export default CameraGrid;