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

Method constructor

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

Source from the content-addressed store, hash-verified

4005class Example101 extends React.Component<any, any> {
4006 state: any;
4007 constructor(props: any) {
4008 super(props);
4009
4010 this.toggle = this.toggle.bind(this);
4011 this.state = {
4012 activeTab: '1',
4013 };
4014 }
4015
4016 toggle(tab: string) {
4017 if (this.state.activeTab !== tab) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected