Browse Source

Fix portal link (#10845)

main
Andrew Clark 7 years ago
committed by Dan Abramov
parent
commit
078f8d15e5
  1. 2
      docs/portals.md

2
docs/portals.md

@ -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

Loading…
Cancel
Save