GameComponent

A higher-order React functional component that manages the Phaser game.
Parameters:
Name Type Description
props Object The component props.
Properties
Name Type Attributes Description
children Array | Object <optional>
The child components.
config Object The config object for the Phaser game instance.
Source:
See:
Throws:
Will throw a ConfigError if the Phaser game is mis-configured by the user.
Type
ConfigError