mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user