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

Method createInstance

src/components/Dial/index.ts:10–19  ·  view source on GitHub ↗
(
    newProps: DialProps,
    rootInstance: AppContainer,
    context: any,
    workInProgress: Fiber
  )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected