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

Function overlayElement

specs/Modal.spec.js:310–314  ·  view source on GitHub ↗
(props, contentElement)

Source from the content-addressed store, hash-verified

308
309 it("supports custom overlayElement", () => {
310 const overlayElement = (props, contentElement) => (
311 <div {...props} id="custom">
312 {contentElement}
313 </div>
314 );
315
316 const props = { isOpen: true, overlayElement };
317 withModal(props, null, modal => {

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…