createElement

External Documentation

JSObject createElement(

  1. JSAny type, [
  2. JSObject? props,
  3. JSAny? children
])

Creates and returns a new React element of the given type.

Implementation

external static JSObject createElement(
  JSAny type, [
  JSObject? props,
  JSAny? children,
]);