(children, container)
| 17905 | } |
| 17906 | |
| 17907 | function createPortal(children, container) { |
| 17908 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17909 | |
| 17910 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17911 | // TODO: pass ReactDOM portal implementation as third argument |
| 17912 | return createPortal$1(children, container, null, key); |
| 17913 | } |
| 17914 | |
| 17915 | var ReactDOM = { |
| 17916 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected