(props, contentElement)
| 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 => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…