Skip to content

Commit

Permalink
Update react-components/react-portal README.md (#28520)
Browse files Browse the repository at this point in the history
* Update react-components/react-portal README.md

Updated typos in the docs.

* changelog

* semicolon
  • Loading branch information
george-cz authored Jul 13, 2023
1 parent 5fa7044 commit 8d06e6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update react-components/react-portal README.md",
"packageName": "@fluentui/react-portal",
"email": "jirivyhnalek@microsoft.com",
"dependentChangeType": "none"
}
4 changes: 2 additions & 2 deletions packages/react-components/react-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Below shows what a virtual parent is
```tsx
// Setting a virtual parent

const parent document.getElementById('parent')
const child document.getElement.ById('child');
const parent = document.getElementById('parent');
const child = document.getElementById('child');

child._virtual.parent = parent;
```
Expand Down

0 comments on commit 8d06e6d

Please sign in to comment.