()
| 161 | }; |
| 162 | |
| 163 | render() { |
| 164 | const { children } = this.props; |
| 165 | const { |
| 166 | glSurface: { RenderLessElement, mapRenderableContent }, |
| 167 | } = this.context; |
| 168 | return ( |
| 169 | <GLContext.Provider |
| 170 | value={{ |
| 171 | glParent: this, |
| 172 | glSurface: this.context.glSurface, |
| 173 | glSizable: this.context.glSizable, |
| 174 | }} |
| 175 | > |
| 176 | <RenderLessElement ref={mapRenderableContent ? this.onRef : undefined}> |
| 177 | {typeof children === "function" ? children(this.redraw) : children} |
| 178 | </RenderLessElement> |
| 179 | </GLContext.Provider> |
| 180 | ); |
| 181 | } |
| 182 | } |
nothing calls this directly
no outgoing calls
no test coverage detected