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

Method commitUpdate

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

Source from the content-addressed store, hash-verified

20 return;
21 }
22 commitUpdate(instance: RNFileDialog, updatePayload: any, oldProps: FileDialogProps, newProps: FileDialogProps, finishedWork: Fiber): void {
23 instance.setProps(newProps, oldProps);
24 }
25}
26/**
27 * Pop up FileDialog inheriting the functionality of nodegui's `QFileDialog`

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected