ValidationRule interface
Signature
export interface ValidationRule
Import
import { ValidationRule } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
errorMessage | string | |
rule | (valueToValidate: string) => boolean |
errorMessage property
Signature
errorMessage: string;
rule property
Signature
rule: (valueToValidate: string) => boolean;