(children, container)
| 17231 | } |
| 17232 | |
| 17233 | function createPortal(children, container) { |
| 17234 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17235 | |
| 17236 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17237 | // TODO: pass ReactDOM portal implementation as third argument |
| 17238 | return createPortal$1(children, container, null, key); |
| 17239 | } |
| 17240 | |
| 17241 | var ReactDOM = { |
| 17242 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected