MCPcopy Create free account
hub / github.com/Lobos/react-ui / componentDidMount

Method componentDidMount

docs/src/js/Code.js:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 }
9
10 componentDidMount () {
11 window.prettyPrint(null, this.code);
12 }
13
14 render () {
15 return (<div className="code" ref={(c) => this.code = c}><pre className="prettyprint">{this.props.children}</pre></div>);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected