mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix portal link (#10845)
This commit is contained in:
committed by
Dan Abramov
parent
8b39991819
commit
706d2f4f9c
@@ -10,7 +10,7 @@ Portals provide a first-class way to render children into a DOM node that exists
|
||||
ReactDOM.createPortal(child, container)
|
||||
```
|
||||
|
||||
The first argument (`child`) is any [renderable React child](/docs/react-component.html#render), such as an element, string, or fragment. The second argument (`container`) is a DOM element.
|
||||
The first argument (`child`) is any [renderable React child](/react/docs/react-component.html#render), such as an element, string, or fragment. The second argument (`container`) is a DOM element.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user