+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "PopoverController"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
draft = true
+++

## PopoverController class

<b>Signature</b>

```typescript
declare class PopoverController extends React.Component<Props, State> 
```
<b>Import</b>

```typescript
import { PopoverController } from '@grafana/ui';
```
<b>Constructors</b>

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [constructor(props)](#constructor-props) |  | Constructs a new instance of the <code>PopoverController</code> class |

<b>Properties</b>

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [hidePopper](#hidepopper-property) |  | <code>() =&gt; void</code> |  |
|  [showPopper](#showpopper-property) |  | <code>() =&gt; void</code> |  |

<b>Methods</b>

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [render()](#render-method) |  |  |
|  [UNSAFE\_componentWillReceiveProps(nextProps)](#unsafe_componentwillreceiveprops-method) |  |  |

### constructor(props)

Constructs a new instance of the `PopoverController` class

<b>Signature</b>

```typescript
constructor(props: Props);
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  props | <code>Props</code> |  |

### hidePopper property

<b>Signature</b>

```typescript
hidePopper: () => void;
```

### showPopper property

<b>Signature</b>

```typescript
showPopper: () => void;
```

### render method

<b>Signature</b>

```typescript
render(): JSX.Element;
```
<b>Returns:</b>

`JSX.Element`

### UNSAFE\_componentWillReceiveProps method

<b>Signature</b>

```typescript
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  nextProps | <code>Props</code> |  |

<b>Returns:</b>

`void`

