Method
createInstance
(newProps: DialogProps, rootInstance: AppContainer, context: any, workInProgress: Fiber)
Source from the content-addressed store, hash-verified
| 17 | return true; |
| 18 | } |
| 19 | createInstance(newProps: DialogProps, rootInstance: AppContainer, context: any, workInProgress: Fiber): RNDialog { |
| 20 | const widget = new RNDialog(); |
| 21 | widget.setProps(newProps, {}); |
| 22 | return widget; |
| 23 | } |
| 24 | commitMount(instance: RNDialog, newProps: DialogProps, internalInstanceHandle: any): void { |
| 25 | if (newProps.visible !== false && newProps.open !== false) { |
| 26 | instance.show(); |
Callers
nothing calls this directly
Tested by
no test coverage detected