UNPKG

phaser-jsx

Version:
10 lines 354 B
import type { RefObject } from 'react'; /** * Creates a ref object which can contain arbitrary value. * * @deprecated Use {@link useRef} instead. * * @returns - Creates an object with a single property `current` (initially set to `null`). */ export declare function createRef<Type>(): RefObject<Type | null>; //# sourceMappingURL=createRef.d.ts.map