mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 09:42:13 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
62 lines
1.4 KiB
Markdown
62 lines
1.4 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "FieldConfigEditorProps"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## FieldConfigEditorProps interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface FieldConfigEditorProps<TValue, TSettings> extends Omit<StandardEditorProps<TValue, TSettings>, 'item'>
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { FieldConfigEditorProps } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [context](#context-property) | <code>FieldOverrideContext</code> | |
|
|
| [item](#item-property) | <code>FieldConfigPropertyItem<TValue, TSettings></code> | |
|
|
| [onChange](#onchange-property) | <code>(value?: TValue) => void</code> | |
|
|
| [value](#value-property) | <code>TValue</code> | |
|
|
|
|
### context property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
context: FieldOverrideContext;
|
|
```
|
|
|
|
### item property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
item: FieldConfigPropertyItem<TValue, TSettings>;
|
|
```
|
|
|
|
### onChange property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
onChange: (value?: TValue) => void;
|
|
```
|
|
|
|
### value property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
value: TValue;
|
|
```
|