+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "Portal"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## Portal class
Signature
```typescript
export declare class Portal extends PureComponent
```
Import
```typescript
import { Portal } from '@grafana/ui';
```
Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [constructor(props)](#constructor-props) | | Constructs a new instance of the Portal
class |
Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [node](#node-property) | | HTMLElement
| |
| [portalRoot](#portalroot-property) | | HTMLElement
| |
Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [componentWillUnmount()](#componentwillunmount-method) | | |
| [render()](#render-method) | | |
### constructor(props)
Constructs a new instance of the `Portal` class
Signature
```typescript
constructor(props: Props);
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| props | Props
| |
### node property
Signature
```typescript
node: HTMLElement;
```
### portalRoot property
Signature
```typescript
portalRoot: HTMLElement;
```
### componentWillUnmount method
Signature
```typescript
componentWillUnmount(): void;
```
Returns:
`void`
### render method
Signature
```typescript
render(): React.ReactPortal;
```
Returns:
`React.ReactPortal`