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

Method constructor

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

Source from the content-addressed store, hash-verified

4395class Example109 extends React.Component<any, any> {
4396 state: any;
4397 constructor(props: any) {
4398 super(props);
4399
4400 this.toggle = this.toggle.bind(this);
4401 this.state = {
4402 isOpen: false,
4403 };
4404 }
4405 toggle() {
4406 this.setState({
4407 isOpen: !this.state.isOpen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected