import React, { useId } from "react"; import { Label } from "@/components/ui/label"; import { CAMERA_ROTATIONS, CameraRotation, cameraRotation } from "@/lib/cameraConfig"; interface Props { rotation: CameraRotation | null; onChange: (rotation: CameraRotation) => void; disabled?: boolean; } export default function CameraRotationSelect({ rotation, onChange, disabled }: Props) { const id = useId(); return (