The HTML tag/type to create (e.g., 'div', 'span', 'button').
Optionalprops: Object = {}Props/attributes to apply to the created element.
Child nodes or values to attach (e.g., strings, HTMLElements, component instances, or arrays).
The created component instance.
Creates an HTML/React-like component instance. This is what the JSX transpiler uses internally for
<Component>...</Component>-style expressions. It is also aliased tocreateElementfor compatibility with the React API.