| 1 |
<?php |
| 2 |
/** |
| 3 |
* Containers for Jetpack to portal React components in the WP Admin. |
| 4 |
* |
| 5 |
* @html-template Jetpack::load_view |
| 6 |
* @package automattic/jetpack |
| 7 |
*/ |
| 8 |
|
| 9 |
?> |
| 10 |
<div id="jetpack-plugin-portal-app"> |
| 11 |
<!-- |
| 12 |
React Managed |
| 13 |
The app that needs to make use of portals can render here. |
| 14 |
--> |
| 15 |
</div> |
| 16 |
<div id="jetpack-plugin-portal-sidecar"> |
| 17 |
<!-- |
| 18 |
React Managed |
| 19 |
Used by portal components that may not have an anchor elsewhere on the page and need to dynamically render |
| 20 |
This is especially useful for modals |
| 21 |
--> |
| 22 |
</div> |
| 23 |
|