mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
946 B
946 B
ReactNode type
A stand-in for the real React.ReactNode. A ReactElement is rendered dynamically with React. number and string are displayed directly. boolean, null, and undefined are ignored and not rendered. An array of ReactNodes will display all members of that array sequentially.
Use React.createElement to make the ReactElement type, see creating an element without jsx from the official React documentation.
Signature:
type ReactNode = ReactElement | string | number | null | undefined | boolean | ReactNode[];
References: ReactElement, ReactNode