(children, container)
| 17963 | } |
| 17964 | |
| 17965 | function createPortal(children, container) { |
| 17966 | var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; |
| 17967 | |
| 17968 | !isValidContainer(container) ? invariant(false, 'Target container is not a DOM element.') : void 0; |
| 17969 | // TODO: pass ReactDOM portal implementation as third argument |
| 17970 | return createPortal$1(children, container, null, key); |
| 17971 | } |
| 17972 | |
| 17973 | var ReactDOM = { |
| 17974 | createPortal: createPortal, |
nothing calls this directly
no test coverage detected