updated forms along with addg tabs
This commit is contained in:
@@ -3,14 +3,18 @@ import NavigationArrow from "../UI/NavigationArrow";
|
||||
|
||||
type SnapshotContainerProps = {
|
||||
side: string;
|
||||
settingsPage?: boolean;
|
||||
};
|
||||
|
||||
export const SnapshotContainer = ({ side }: SnapshotContainerProps) => {
|
||||
export const SnapshotContainer = ({
|
||||
side,
|
||||
settingsPage,
|
||||
}: SnapshotContainerProps) => {
|
||||
const { canvasRef } = useGetOverviewSnapshot(side);
|
||||
|
||||
return (
|
||||
<div className="relative w-full aspect-video">
|
||||
<NavigationArrow side={side} />
|
||||
<NavigationArrow side={side} settingsPage={settingsPage} />
|
||||
<canvas ref={canvasRef} className="w-full h-full object-contain block " />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user