Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
FieldConfigPropertyItem interface
Signature
export interface FieldConfigPropertyItem<TOptions = any, TValue = any, TSettings extends {} = any> extends OptionsEditorItem<TOptions, TSettings, FieldConfigEditorProps<TValue, TSettings>, TValue>
Import
import { FieldConfigPropertyItem } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
isCustom | boolean | true for plugin field config properties |
override | ComponentType<FieldOverrideEditorProps<TValue, TSettings>> | |
process | (value: any, context: FieldOverrideContext, settings?: TSettings) => TValue | undefined | null | |
shouldApply | (field: Field) => boolean |
isCustom property
true for plugin field config properties
Signature
isCustom?: boolean;
override property
Signature
override: ComponentType<FieldOverrideEditorProps<TValue, TSettings>>;
process property
Signature
process: (value: any, context: FieldOverrideContext, settings?: TSettings) => TValue | undefined | null;
shouldApply property
Signature
shouldApply: (field: Field) => boolean;