Portal API Overview
Initialization
import { Portal, Popup } from "@svar-ui/react-core";
<Portal>
<Popup>
<div className="popup">
<p>Some text here and there</p>
</div>
</Popup>
</Portal>
tip
Visit the Features Guide to learn more about the control's functionality.
Portal Properties
target | Optional. The DOM node that receives the content sent by the Portal component |
theme | Optional. Applies the specified theme for a component moved via the portal |