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

## convertOldAngularValueMapping() function

### convertOldAngularValueMapping() function

Convert the angular single stat mapping to new react style

<b>Signature</b>

```typescript
export declare function convertOldAngularValueMapping(panel: any): ValueMapping[];
```
<b>Import</b>

```typescript
import { convertOldAngularValueMapping } from '@grafana/ui';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  panel | <code>any</code> |  |

<b>Returns:</b>

`ValueMapping[]`

