UNPKG

phaser-jsx

Version:
12 lines 560 B
import type { ComponentClass, FC, JSX, ReactNode } from 'react'; import type { Props } from '../types'; /** * Creates an element. * * @param type - The `type` argument must be a valid component type. * @param props - The `props` argument must either be an object or `null`. * @param children - Zero or more child elements. * @returns - Element object with properties `type` and `props`. */ export declare function createElement(type: FC | ComponentClass, props?: Props | null, ...children: ReactNode[]): JSX.Element; //# sourceMappingURL=create.d.ts.map