MCPcopy Index your code
hub / github.com/reactjs/react-modal / constructor

Function constructor

examples/basic/multiple_modals/index.js:18–26  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

16
17class MultipleModals extends Component {
18 constructor(props) {
19 super(props);
20 this.state = {
21 listItemsIsOpen: false,
22 currentItem: -1,
23 loading: false,
24 items: []
25 };
26 }
27
28 toggleModal = event => {
29 event.preventDefault();

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…