(tag: string)
| 4 | |
| 5 | /** Create an element with the given tag. */ |
| 6 | export function createElement(tag: string): JSX.Element { |
| 7 | return { |
| 8 | type: "box", |
| 9 | id: undefined, |
| 10 | children: undefined, |
| 11 | width: "0su", |
| 12 | height: "0su", |
| 13 | }; |
| 14 | } |
| 15 | |
| 16 | /** Create a text node with the given contents. */ |
| 17 | export function createTextNode(value: string): JSX.Element { |
nothing calls this directly
no outgoing calls
no test coverage detected