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

Method constructor

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

Source from the content-addressed store, hash-verified

2952class Example75 extends React.Component<any, any> {
2953 state: any;
2954 constructor(props: any) {
2955 super(props);
2956
2957 this.toggle = this.toggle.bind(this);
2958 this.state = {
2959 isOpen: false,
2960 };
2961 }
2962 toggle() {
2963 this.setState({
2964 isOpen: !this.state.isOpen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected