Lawtext core references / core/src/renderer/common
Module: core/src/renderer/common
Table of contents
Functions
Functions
overrrideConsole
▸ overrrideConsole(): void
Returns
void
Defined in
core/src/renderer/common/index.tsx:27 (opens in a new tab)
renderToStaticMarkup
▸ renderToStaticMarkup(element
): string
Parameters
Name | Type |
---|---|
element | ReactElement <any , string | JSXElementConstructor <any >> |
Returns
string
Defined in
core/src/renderer/common/index.tsx:54 (opens in a new tab)
revertConsole
▸ revertConsole(): void
Returns
void
Defined in
core/src/renderer/common/index.tsx:48 (opens in a new tab)
withKey
▸ withKey(els
, baseKey?
): (string
| Element
)[]
Parameters
Name | Type | Default value |
---|---|---|
els | (string | Element )[] | undefined |
baseKey | number | 0 |
Returns
(string
| Element
)[]