(require("server/utils/elementToImage"))(element) → {string}
converts React element to html
Parameters:
| Name | Type | Description |
|---|---|---|
element |
object | React element |
Returns:
HTML of the element
- Type
- string