()
| 114 | private manager: PortalManager | null | undefined; |
| 115 | |
| 116 | render() { |
| 117 | return ( |
| 118 | <PortalContext.Provider |
| 119 | value={{ |
| 120 | mount: this.mount, |
| 121 | update: this.update, |
| 122 | unmount: this.unmount, |
| 123 | }} |
| 124 | > |
| 125 | {/* Need collapsable=false here to clip the elevations, otherwise they appear above Portal components */} |
| 126 | <View |
| 127 | style={styles.container} |
| 128 | collapsable={false} |
| 129 | pointerEvents="box-none" |
| 130 | > |
| 131 | {this.props.children} |
| 132 | </View> |
| 133 | <PortalManager ref={this.setManager} /> |
| 134 | </PortalContext.Provider> |
| 135 | ); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | const styles = StyleSheet.create({ |
nothing calls this directly
no outgoing calls
no test coverage detected