(children, container)
| 18008 | } |
| 18009 | |
| 18010 | function createPortal(children, container) { |
| 18011 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 18012 | |
| 18013 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 18014 | // TODO: pass ReactDOM portal implementation as third argument |
| 18015 | return createPortal$1(children, container, null, key); |
| 18016 | } |
| 18017 | |
| 18018 | var ReactDOM = { |
| 18019 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected