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

Function constructor

examples/basic/nested_modals/index.js:5–10  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4class Item extends Component {
5 constructor(props) {
6 super(props);
7 this.state = {
8 isOpen: false
9 };
10 }
11
12 toggleModal = index => event => {
13 console.log("NESTED MODAL ITEM", event);

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…