API Reference@grafana/ui › regexValidation

regexValidation variable

regexValidation variable

Signature

regexValidation: (pattern: string | RegExp, errorMessage?: string | undefined) => ValidationRule

Import

import { regexValidation } from '@grafana/ui';