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

Method constructor

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

Source from the content-addressed store, hash-verified

2665 state: any;
2666 element: HTMLElement;
2667 constructor(props: any) {
2668 super(props);
2669 this.state = {
2670 modal: false,
2671 backdrop: true,
2672 };
2673
2674 this.toggle = this.toggle.bind(this);
2675 this.changeBackdrop = this.changeBackdrop.bind(this);
2676 }
2677
2678 toggle() {
2679 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected