React Top-Level API: React.createElement()

React.createElement()

React.createElement(
  type,
  [props],
  [...children]
)

Create and return a new React element of the given type (the type argument can be either a tag name string (such as 'div' or 'span'), a React component type (a class or a function), or a React fragment type).

React Top-Level API: React.createElement() — Structure map

Clickable & Draggable!

React Top-Level API: React.createElement() — Related pages: