phaser-jsx
Version:
Use JSX in Phaser.
10 lines • 354 B
TypeScript
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