(props, children)
| 322 | |
| 323 | it("supports custom contentElement", () => { |
| 324 | const contentElement = (props, children) => ( |
| 325 | <div {...props} id="custom"> |
| 326 | {children} |
| 327 | </div> |
| 328 | ); |
| 329 | |
| 330 | const props = { isOpen: true, contentElement }; |
| 331 | withModal(props, "hello", modal => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…