createPortal

external fun createPortal(children: ReactNode?, container: Element, key: Key? = definedExternally): ReactPortal(source)