Portal
Renders content into a different part of the DOM tree.
Usage
Portal Props
| Prop | Type | Default |
|---|---|---|
container | Element | DocumentFragment | — |
className | string | — |
children | ReactNode | — |
asChild | boolean | — |
Renders content into a different part of the DOM tree.
import { Portal } from '@ivaldi/ui'| Prop | Type | Default |
|---|---|---|
container | Element | DocumentFragment | — |
className | string | — |
children | ReactNode | — |
asChild | boolean | — |