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

Method constructor

src/DropdownItem.js:22–27  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

20
21class DropdownItem extends React.Component {
22 constructor(props) {
23 super(props);
24
25 this.onClick = this.onClick.bind(this);
26 this.getTabIndex = this.getTabIndex.bind(this);
27 }
28
29 onClick(e) {
30 const { disabled, header, divider, text } = this.props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected