MCPcopy Create free account
hub / github.com/nodegui/react-nodegui / createInstance

Method createInstance

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected