import { GrabbableObject } from "@/components/three/interaction/GrabbableObject"; import { RepairObjectModel } from "@/components/three/gameplay/RepairObjectModel"; import type { Vector3Tuple } from "@/types/three/three"; interface RepairEbikeRepairTriggerProps { anchor: Vector3Tuple; installed: boolean; } const REPLACEMENT_MODEL_PATH = "/models/refroidisseur/model.gltf"; /** * Ebike-specific fake replacement flow: the broken radiator node is * hidden in the shared ExplodableModel, a grabbable copy appears at the * same anchor, then RepairGame/RepairMissionCase controls the install * interaction and this component swaps the copy for a fresh glowing part. */ export function RepairEbikeRepairTrigger({ anchor, installed, }: RepairEbikeRepairTriggerProps): React.JSX.Element { return ( {!installed ? ( ) : ( )} ); }