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

Method constructor

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

Source from the content-addressed store, hash-verified

2891
2892class ModalExampleFocusAfterClose extends React.Component<any, any> {
2893 constructor(props: any) {
2894 super(props);
2895 this.state = {
2896 open: false,
2897 focusAfterClose: true,
2898 };
2899 this.toggle = this.toggle.bind(this);
2900 this.handleSelectChange = this.handleSelectChange.bind(this);
2901 }
2902
2903 toggle() {
2904 this.setState({ open: !this.state.open });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected