phaser-jsx
    Preparing search index...

    Function createElement

    • Creates an element.

      Parameters

      • type: ComponentClass<{}, any> | FC

        The type argument must be a valid component type.

      • Optionalprops: null | Props

        The props argument must either be an object or null.

      • ...children: Element[]

        Zero or more child elements.

      Returns Element

      • Element object with properties type and props.