+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ThresholdsConfig"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## ThresholdsConfig interface
Config that is passed to the ThresholdsEditor
Signature
```typescript
export interface ThresholdsConfig
```
Import
```typescript
import { ThresholdsConfig } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [mode](#mode-property) | ThresholdsMode
| |
| [steps](#steps-property) | Threshold[]
| Must be sorted by 'value', first value is always -Infinity |
### mode property
Signature
```typescript
mode: ThresholdsMode;
```
### steps property
Must be sorted by 'value', first value is always -Infinity
Signature
```typescript
steps: Threshold[];
```