UNPKG

@gsmlg/three-fiber

Version:
11 lines (10 loc) 409 B
/// <reference types="react" /> import { PrimitiveProps } from '@react-three/fiber/dist/declarations/src/three-types'; import { GLTF } from 'three/examples/jsm/loaders/GLTFLoader'; interface Props extends PrimitiveProps { modelUrl: string; modelUpdater: (gltf: GLTF) => void; [x: string]: any; } export declare const Model: ({ modelUrl, modelUpdater, ...props }: Props) => JSX.Element; export {};