Portal
component is a wrapper around React Portals
and can be used in combination with other falcon-ui
components (like Sidebar
or Backdrop
for example).
Components rendered as Portal
render into a new DOM node (<div>
) that exists outside the DOM hierarchy of the parent component
and gets appended to <body>
.