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

Method constructor

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

Source from the content-addressed store, hash-verified

4514class Example112 extends React.Component<any, any> {
4515 state: any;
4516 constructor(props: any) {
4517 super(props);
4518
4519 this.toggle = this.toggle.bind(this);
4520 this.state = {
4521 isOpen: false,
4522 };
4523 }
4524 toggle() {
4525 this.setState({
4526 isOpen: !this.state.isOpen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected