MCPcopy
hub / github.com/reactjs/react-modal / render

Method render

specs/Modal.spec.js:802–819  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

800 }
801
802 render() {
803 const { classModifier } = this.state;
804 const portalClassName = `portal${classModifier}`;
805
806 return (
807 <div>
808 <Modal
809 ref={modalComponent => {
810 modal = modalComponent;
811 }}
812 isOpen
813 portalClassName={portalClassName}
814 >
815 <span>Test</span>
816 </Modal>
817 </div>
818 );
819 }
820 }
821
822 Modal.setAppElement(node);

Callers 3

Modal.spec.jsFile · 0.45
withModalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected