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

Method commitUpdate

src/components/ErrorPrompt/index.ts:22–24  ·  view source on GitHub ↗
(instance: RNErrorPrompt, updatePayload: any, oldProps: ErrorPromptProps, newProps: ErrorPromptProps, finishedWork: Fiber)

Source from the content-addressed store, hash-verified

20 return;
21 }
22 commitUpdate(instance: RNErrorPrompt, updatePayload: any, oldProps: ErrorPromptProps, newProps: ErrorPromptProps, finishedWork: Fiber): void {
23 instance.setProps(newProps, oldProps);
24 }
25}
26/**
27 * ErrorPrompt inherits the functionality of nodegui's `QErrorMessage`

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected