diff --git a/change/@fluentui-react-portal-e75181ac-7bf9-4b6e-a79e-2f1c3f54d5e7.json b/change/@fluentui-react-portal-e75181ac-7bf9-4b6e-a79e-2f1c3f54d5e7.json new file mode 100644 index 0000000000000..adc49549ede73 --- /dev/null +++ b/change/@fluentui-react-portal-e75181ac-7bf9-4b6e-a79e-2f1c3f54d5e7.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update react-components/react-portal README.md", + "packageName": "@fluentui/react-portal", + "email": "jirivyhnalek@microsoft.com", + "dependentChangeType": "none" +} diff --git a/packages/react-components/react-portal/README.md b/packages/react-components/react-portal/README.md index f90edf2b63ebe..26172028e4eb9 100644 --- a/packages/react-components/react-portal/README.md +++ b/packages/react-components/react-portal/README.md @@ -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; ```