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

Method createInstance

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.95

Tested by

no test coverage detected