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