(children, container)
| 17103 | } |
| 17104 | |
| 17105 | function createPortal(children, container) { |
| 17106 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17107 | |
| 17108 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17109 | // TODO: pass ReactDOM portal implementation as third argument |
| 17110 | return createPortal$1(children, container, null, key); |
| 17111 | } |
| 17112 | |
| 17113 | var ReactDOM = { |
| 17114 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected