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

Method constructor

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

Source from the content-addressed store, hash-verified

785
786 class App extends Component {
787 constructor(props) {
788 super(props);
789 this.state = { classModifier: "" };
790 }
791
792 componentDidMount() {
793 modal.node.className.should.be.eql("portal");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected