Update ModalDialog.md

This commit is contained in:
Angelos Chalaris
2018-11-29 10:33:26 +02:00
committed by GitHub
parent 138b7cf7eb
commit c77b6bf53a

View File

@ -133,7 +133,7 @@ ModalDialog.show({
```
#### Notes:
* This component includes a lot of CSS, which might conflict with other CSS in your project. It is recomended that the modal a direct child of the body tag.
* This component includes a lot of CSS, which might conflict with other CSS in your project. It is recomended for the modal to be a direct child of the body tag.
* A more up-to-date method with lower compatibility is to use [Portals](https://reactjs.org/docs/portals.html) in React 16+.
<!-- tags: visual,static,children,state,class -->