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

Method commitUpdate

src/components/SpinBox/index.ts:38–46  ·  view source on GitHub ↗
(
    instance: RNSpinBox,
    updatePayload: any,
    oldProps: SpinBoxProps,
    newProps: SpinBoxProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

36 return;
37 }
38 commitUpdate(
39 instance: RNSpinBox,
40 updatePayload: any,
41 oldProps: SpinBoxProps,
42 newProps: SpinBoxProps,
43 finishedWork: Fiber
44 ): void {
45 instance.setProps(newProps, oldProps);
46 }
47}
48
49export const SpinBox = registerComponent<SpinBoxProps>(new SpinBoxConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected