MCPcopy Create free account
hub / github.com/reactjs/react-modal / constructor

Method constructor

specs/Modal.spec.js:771–774  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

769
770 class App extends Component {
771 constructor(props) {
772 super(props);
773 this.state = { classModifier: "" };
774 }
775
776 componentDidMount() {
777 modal.node.className.should.be.eql("portal");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected