UNPKG

@threlte/core

Version:

A 3D framework for the web, built on top of Svelte and Three.js

3 lines (2 loc) 191 B
import type { BaseProps, MaybeInstance } from '../types.js'; export declare const useAttach: <T extends MaybeInstance<any>>(getRef: () => T, getAttach: () => BaseProps<T>["attach"]) => void;