(children, container)
| 18121 | } |
| 18122 | |
| 18123 | function createPortal(children, container) { |
| 18124 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 18125 | |
| 18126 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 18127 | // TODO: pass ReactDOM portal implementation as third argument |
| 18128 | return createPortal$1(children, container, null, key); |
| 18129 | } |
| 18130 | |
| 18131 | var ReactDOM = { |
| 18132 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected