(children, container)
| 17864 | } |
| 17865 | |
| 17866 | function createPortal(children, container) { |
| 17867 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17868 | |
| 17869 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17870 | // TODO: pass ReactDOM portal implementation as third argument |
| 17871 | return createPortal$1(children, container, null, key); |
| 17872 | } |
| 17873 | |
| 17874 | var ReactDOM = { |
| 17875 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected