MCPcopy Create free account
hub / github.com/ARTHIJS/Reactjs / render

Method render

HomeClass.js:18–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18 render() {
19 return (
20 <div>
21 <h4>College Name:{this.state.College}</h4>
22 <h4>Department Name:{this.state.Department}</h4>
23 <button onClick={this.changeDepartment}>Change Department</button>
24
25 </div>
26 );
27 }
28}
29
30HomeClass.propTypes = {

Callers 1

index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected