(children, container)
| 17194 | } |
| 17195 | |
| 17196 | function createPortal(children, container) { |
| 17197 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17198 | |
| 17199 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17200 | // TODO: pass ReactDOM portal implementation as third argument |
| 17201 | return createPortal$1(children, container, null, key); |
| 17202 | } |
| 17203 | |
| 17204 | var ReactDOM = { |
| 17205 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected