bitburner-src/markdown/bitburner.reactelement.md

911 B

Home > bitburner > ReactElement

ReactElement interface

A stand-in for the real React.ReactElement. Use React.createElement to make these. See creating an element without jsx from the official React documentation.

Signature:

interface ReactElement 

Properties

Property Modifiers Type Description
key string | number | null
props any
type string | ((props: any) => ReactElement | null) | (new (props: any) => object)