Files
Mav-Mobile-UI/src/components/FrontCameraSettings/OverviewVideoContainer.tsx

25 lines
644 B
TypeScript
Raw Normal View History

2025-08-13 14:23:48 +01:00
import clsx from "clsx";
import { SnapshotContainer } from "../CameraOverview/SnapshotContainer";
import { faCamera } from "@fortawesome/free-regular-svg-icons";
2025-08-13 14:23:48 +01:00
import Card from "../UI/Card";
import CardHeader from "../UI/CardHeader";
2025-08-13 14:23:48 +01:00
const OverviewVideoContainer = ({
title,
side,
}: {
title: string;
side: string;
}) => {
return (
<Card className={clsx("min-h-[40vh] md:min-h-[60vh] h-auto")}>
<div className="relative flex flex-col space-y-3 h-full">
<CardHeader title={title} icon={faCamera} />
2025-08-13 14:23:48 +01:00
<SnapshotContainer side={side} />
</div>
</Card>
);
};
export default OverviewVideoContainer;