MCPcopy Create free account
hub / github.com/gre/gl-react / render

Method render

packages/gl-react/src/Bus.tsx:163–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected