(content: string)
| 50 | }; |
| 51 | |
| 52 | export const createTextInstance = (content: string) => { |
| 53 | const instance = { |
| 54 | text: content, |
| 55 | id: instanceCounter++, |
| 56 | parent: -1 |
| 57 | }; |
| 58 | return instance; |
| 59 | }; |
| 60 | |
| 61 | export const appendChildToContainer = (parent: Container, child: Instance) => { |
| 62 | // id |
nothing calls this directly
no outgoing calls
no test coverage detected