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

Method constructor

src/__tests__/Fade.spec.js:9–15  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

7
8class Helper extends React.Component {
9 constructor(props) {
10 super(props);
11 this.toggle = this.toggle.bind(this);
12 this.state = {
13 showItem: props.showItem,
14 };
15 }
16
17 toggle() {
18 this.setState((prevState) => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected