MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / createInstance

Method createInstance

src/components/Window/index.ts:11–20  ·  view source on GitHub ↗
(
    newProps: WindowProps,
    rootInstance: AppContainer,
    context: any,
    workInProgress: Fiber
  )

Source from the content-addressed store, hash-verified

9 return false;
10 }
11 createInstance(
12 newProps: WindowProps,
13 rootInstance: AppContainer,
14 context: any,
15 workInProgress: Fiber
16 ): RNWindow {
17 const window = new RNWindow();
18 window.setProps(newProps, {});
19 return window;
20 }
21 finalizeInitialChildren(
22 instance: RNWindow,
23 newProps: WindowProps,

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected