feat: support rendering array elements
This commit is contained in:
parent
3304958b01
commit
7b80d2f324
4 changed files with 35 additions and 14 deletions
|
|
@ -26,6 +26,7 @@ export interface HTMLElement {
|
|||
* All valid types of elements that can be rendered to HTML.
|
||||
*/
|
||||
export type Element =
|
||||
| Element[]
|
||||
| HTMLElement
|
||||
| string
|
||||
| number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue