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

Method createInstance

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

Source from the content-addressed store, hash-verified

9 return false;
10 }
11 createInstance(
12 newProps: GridViewProps,
13 rootInstance: AppContainer,
14 context: any,
15 workInProgress: Fiber
16 ): RNGridView {
17 const widget = new RNGridView();
18 widget.setProps(newProps, {
19 children: [],
20 });
21 return widget;
22 }
23 finalizeInitialChildren(
24 instance: RNGridView,
25 newProps: GridViewProps,

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected