Minor update to portals docs "child" language (#10870)

* Update portals docs "child" language

This commit changes the portals docs so that the language of the Parent
no longer feels like it is missing a word with "is not a child the div
with onClick handler" and replaces that with "is not a direct child of
the div with the onClick handler".

closes #10868

* Update portals.md
This commit is contained in:
Cody Wall
2017-09-27 17:04:11 +01:00
committed by Dan Abramov
parent aad0970192
commit 7811677a49
+2 -2
View File
@@ -115,8 +115,8 @@ class Parent extends React.Component {
<p>
Open up the browser DevTools
to observe that the button
is not a child the div
with onClick handler.
is not a child of the div
with the onClick handler.
</p>
<Modal>
<Child />