UNPKG

phaser-jsx

Version:
9 lines 553 B
import type { RefObject } from 'react'; /** * A hook that lets you reference a value that’s not needed for rendering. * * @param initialValue - The value you want the ref object’s current property to be initially. It can be a value of any type. This argument is ignored after the initial render. * @returns - Returns an object with a single property `current` (initially set to the `initialValue` you have passed). */ export declare function useRef<Type>(initialValue?: Type | null): RefObject<Type | null>; //# sourceMappingURL=useRef.d.ts.map