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

Method constructor

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

Source from the content-addressed store, hash-verified

2744class ModalExample74 extends React.Component<any, any> {
2745 state: any;
2746 constructor(props: any) {
2747 super(props);
2748 this.state = {
2749 modal: false,
2750 nestedModal: false,
2751 };
2752
2753 this.toggle = this.toggle.bind(this);
2754 this.toggleNested = this.toggleNested.bind(this);
2755 }
2756
2757 toggle() {
2758 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected