MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / constructor

Method constructor

src/TabContent.js:24–29  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

22 }
23
24 constructor(props) {
25 super(props);
26 this.state = {
27 activeTab: this.props.activeTab,
28 };
29 }
30
31 render() {
32 const { className, cssModule, tag: Tag = 'div' } = this.props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected