Skip to content

Commit

Permalink
re-worded portal docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall committed Jul 12, 2018
1 parent afb5c98 commit 1078ac9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src-docs/src/views/portal/portal_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ export const PortalExample = {
update.
</p>
<p>
<EuiCode>insert</EuiCode> is an object with two key/values: <EuiCode>sibling</EuiCode>
and <EuiCode>position</EuiCode>. sibling is either the React node or HTMLElement
the portal should be inserted next to, and position specifies the portals relative
position, either <EuiCode>before</EuiCode> or <EuiCode>after</EuiCode>.
<EuiCode>insert</EuiCode> is an object with two key-value
pairs: <EuiCode>sibling</EuiCode> and <EuiCode>position</EuiCode>.
<EuiCode>sibling</EuiCode> is the React node or HTMLElement to
insert the portal next to, and <EuiCode>position</EuiCode> specifies
the portal&apos;s relative position, either <EuiCode>before</EuiCode> or
<EuiCode>after</EuiCode>.
</p>
</React.Fragment>
),
Expand Down

0 comments on commit 1078ac9

Please sign in to comment.