UNPKG

phaser-jsx

Version:
11 lines 506 B
import type { JSX, RefObject } from 'react'; import type { Events, GameObject, RecursivePartial } from '.'; type RefCallback<Type> = (gameObject: Type) => void; interface ObjectProps<Type> extends Partial<Events> { children?: JSX.Element | JSX.Element[] | null; ref?: RefCallback<Type> | RefObject<Type | null>; } export type GameObjectProps<Type = GameObject> = ObjectProps<Type> & RecursivePartial<Type>; export type Props = Record<string, unknown>; export {}; //# sourceMappingURL=props.d.ts.map