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

Method constructor

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

Source from the content-addressed store, hash-verified

4356class Example108 extends React.Component<any, any> {
4357 state: any;
4358 constructor(props: any) {
4359 super(props);
4360
4361 this.toggle = this.toggle.bind(this);
4362 this.state = {
4363 isOpen: false,
4364 };
4365 }
4366 toggle() {
4367 this.setState({
4368 isOpen: !this.state.isOpen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected