Portal
Renders into container (default document.body); nothing on the server or before hydration.
Import
Section titled “Import”import { Portal } from "@jcsoftdev/ui/primitives";| Prop | Type | Default | Description |
|---|---|---|---|
children |
ReactNode |
||
container |
HTMLElement | null |
* marks a required prop.
Source
Section titled “Source”packages/ui/src/primitives/portal.tsx