MCPcopy
hub / github.com/NervJS/nerv / WrapperComponent

Class WrapperComponent

packages/nerv/src/dom.ts:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33class WrapperComponent<P, S> extends Component<P, S> {
34 getChildContext () {
35 // tslint:disable-next-line
36 return this.props.context
37 }
38
39 render () {
40 return this.props.children
41 }
42}
43
44export function unstable_renderSubtreeIntoContainer (
45 parentComponent,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected