MCPcopy Create free account
hub / github.com/Lobos/react-ui / constructor

Function constructor

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

Source from the content-addressed store, hash-verified

23
24class ModalContainer extends Component {
25 constructor (props) {
26 super(props);
27 this.state = {
28 increase: false,
29 modals
30 };
31 this.close = this.close.bind(this);
32 this.clickaway = this.clickaway.bind(this);
33 this.elements = {};
34 }
35
36 componentDidMount () {
37 PubSub.subscribe(ADD_MODAL, this.addModal.bind(this));

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…