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

Method constructor

src/DropdownToggle.js:34–38  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

32
33class DropdownToggle extends React.Component {
34 constructor(props) {
35 super(props);
36
37 this.onClick = this.onClick.bind(this);
38 }
39
40 onClick(e) {
41 if (this.props.disabled || this.context.disabled) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected