import type { SpotLightProps } from '@react-three/fiber'; import { memo } from 'react'; interface Props extends SpotLightProps { debug?: boolean; } export const HelpingSpotLight = memo(({ debug, ...props }) => { return ( <> {debug && ( )} ); });