@react-three/drei
Version:
useful add-ons for react-three-fiber
11 lines (10 loc) • 491 B
TypeScript
import { ThreeElement } from '@react-three/fiber';
import * as THREE from 'three';
import { FlyControls as FlyControlsImpl } from 'three-stdlib';
import { ForwardRefComponent } from '../helpers/ts-utils';
export type FlyControlsProps = Omit<ThreeElement<typeof FlyControlsImpl>, 'ref' | 'args'> & {
onChange?: (e?: THREE.Event) => void;
domElement?: HTMLElement;
makeDefault?: boolean;
};
export declare const FlyControls: ForwardRefComponent<FlyControlsProps, FlyControlsImpl>;