Method
createInstance
(newProps: ErrorPromptProps, rootInstance: AppContainer, context: any, workInProgress: Fiber)
Source from the content-addressed store, hash-verified
| 9 | return false; |
| 10 | } |
| 11 | createInstance(newProps: ErrorPromptProps, rootInstance: AppContainer, context: any, workInProgress: Fiber): RNErrorPrompt { |
| 12 | const widget = new RNErrorPrompt(); |
| 13 | widget.setProps(newProps, { message: "" }); |
| 14 | return widget; |
| 15 | } |
| 16 | commitMount(instance: RNErrorPrompt, newProps: ErrorPromptProps, internalInstanceHandle: any): void { |
| 17 | if (newProps.visible !== false && newProps.open !== false) { |
| 18 | instance.show(); |
Callers
nothing calls this directly
Tested by
no test coverage detected