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

Method constructor

types/reactstrap-tests.tsx:4436–4443  ·  view source on GitHub ↗
(props: any)

Source from the content-addressed store, hash-verified

4434class Example110 extends React.Component<any, any> {
4435 state: any;
4436 constructor(props: any) {
4437 super(props);
4438
4439 this.toggle = this.toggle.bind(this);
4440 this.state = {
4441 isOpen: false,
4442 };
4443 }
4444 toggle() {
4445 this.setState({
4446 isOpen: !this.state.isOpen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected