(children, container)
| 17743 | } |
| 17744 | |
| 17745 | function createPortal(children, container) { |
| 17746 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17747 | |
| 17748 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17749 | // TODO: pass ReactDOM portal implementation as third argument |
| 17750 | return createPortal$1(children, container, null, key); |
| 17751 | } |
| 17752 | |
| 17753 | var ReactDOM = { |
| 17754 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected