import * as THREE from "three"; import React, { Suspense } from "react"; import { useLoader } from "@react-three/fiber"; interface ImagePlaneProps { url: string; height: number; } /** * Draw an image on a plane geometry. */ export default function ImagePlane(props: ImagePlaneProps) { const texture = useLoader(THREE.TextureLoader, props.url); return ( ); }