
```jsx
import { CConditionalPortal } from '@coreui/react'
// or
import CConditionalPortal from '@coreui/react/src/components/conditional-portal/CConditionalPortal'
```

| Property | Description | Type | Default |
| --- | --- | --- | --- |
| **container** **_4.11.0+_** | An HTML element or function that returns a single element, with `document.body` as the default. | `DocumentFragment` \| `Element` \| `(() => DocumentFragment` \| `Element)` | - |
| **portal** | Render some children into a different part of the DOM | `boolean` | - |
