From 28986ea97cdef7a017a46b390c344c9a19ad2fb5 Mon Sep 17 00:00:00 2001 From: Niels de Bruin Date: Mon, 29 Nov 2021 10:37:21 +0100 Subject: [PATCH] Fix typo in docs --- docs/styles/transitions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/styles/transitions.md b/docs/styles/transitions.md index 4e1e3155..7e2f6615 100644 --- a/docs/styles/transitions.md +++ b/docs/styles/transitions.md @@ -72,6 +72,6 @@ Instead of this } ``` -React Modal has adopted the [stable Portal API](https://reactjs.org/docs/portals.html) API as exposed in React 16. +React Modal has adopted the [stable Portal API](https://reactjs.org/docs/portals.html) as exposed in React 16. And `createProtal` API from React 16 [no longer allow](https://github.com/facebook/react/issues/10826#issuecomment-355719729) developers to intervene the unmounting of the portal component.