MCPcopy Create free account
hub / github.com/BetaSu/big-react / createTextInstance

Function createTextInstance

packages/react-noop-renderer/src/hostConfig.ts:52–59  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected