({ name, props = {}, children = [], textContent })
| 1 | class Component { |
| 2 | constructor({ name, props = {}, children = [], textContent }) { |
| 3 | this.name = name; |
| 4 | this.props = props; |
| 5 | this.children = children; |
| 6 | } |
| 7 | |
| 8 | toString(indent = 1, depth = 0) { |
| 9 | const props = Object.entries(this.props).map(([key, value]) => { |
nothing calls this directly
no outgoing calls
no test coverage detected