StringArrayEditor class

Signature

  1. export declare class StringArrayEditor extends React.PureComponent<Props, State>

Import

  1. import { StringArrayEditor } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
onRemoveString(index: number) => void
onValueChange(e: React.SyntheticEvent, idx: number) => void
state{
showAdd: boolean;
}

Methods

MethodModifiersDescription
render()

onRemoveString property

Signature

  1. onRemoveString: (index: number) => void;

onValueChange property

Signature

  1. onValueChange: (e: React.SyntheticEvent, idx: number) => void;

state property

Signature

  1. state: {
  2. showAdd: boolean;
  3. };

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element