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

Function constructor

src/PopperContent.js:57–65  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

55
56class PopperContent extends React.Component {
57 constructor(props) {
58 super(props);
59
60 this.setTargetNode = this.setTargetNode.bind(this);
61 this.getTargetNode = this.getTargetNode.bind(this);
62 this.getRef = this.getRef.bind(this);
63 this.onClosed = this.onClosed.bind(this);
64 this.state = { isOpen: props.isOpen };
65 }
66
67 static getDerivedStateFromProps(props, state) {
68 if (props.isOpen && !state.isOpen) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…