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

Method createInstance

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected