DOCS: Add printRaw and tprintRaw docs (#663)

This commit is contained in:
Snarling
2023-07-07 18:23:26 -04:00
committed by GitHub
parent 3981f72149
commit 006fbd528f
10 changed files with 128 additions and 22 deletions
+17
View File
@@ -0,0 +1,17 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [ReactNode](./bitburner.reactnode.md)
## ReactNode type
A stand-in for the real React.ReactNode. A [ReactElement](./bitburner.reactelement.md) 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](https://react.dev/reference/react/createElement#creating-an-element-without-jsx) from the official React documentation.
**Signature:**
```typescript
type ReactNode = ReactElement | string | number | null | undefined | boolean | ReactNode[];
```
**References:** [ReactElement](./bitburner.reactelement.md)<!-- -->, [ReactNode](./bitburner.reactnode.md)