mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
53 lines
1.2 KiB
Markdown
53 lines
1.2 KiB
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "StandardEditorProps"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
||
|
type = "docs"
|
||
|
+++
|
||
|
|
||
|
## StandardEditorProps interface
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface StandardEditorProps<TValue = any, TSettings = any>
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { StandardEditorProps } from '@grafana/data';
|
||
|
```
|
||
|
<b>Properties</b>
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [item](#item-property) | <code>StandardEditorsRegistryItem<TValue, TSettings></code> | |
|
||
|
| [onChange](#onchange-property) | <code>(value?: TValue) => void</code> | |
|
||
|
| [value](#value-property) | <code>TValue</code> | |
|
||
|
|
||
|
### item property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
item: StandardEditorsRegistryItem<TValue, TSettings>;
|
||
|
```
|
||
|
|
||
|
### onChange property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
onChange: (value?: TValue) => void;
|
||
|
```
|
||
|
|
||
|
### value property
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
value: TValue;
|
||
|
```
|