FormAPI type
FormAPI type
Signature
export declare type FormAPI<T> = Pick<FormContextValues<T>, 'register' | 'errors' | 'control' | 'formState' | 'getValues' | 'watch'>;
Import
import { FormAPI } from '@grafana/ui';
Signature
export declare type FormAPI<T> = Pick<FormContextValues<T>, 'register' | 'errors' | 'control' | 'formState' | 'getValues' | 'watch'>;
Import
import { FormAPI } from '@grafana/ui';
New free and paid plans for Grafana Cloud
Beautiful dashboards, logs (Loki), metrics (Prometheus & Graphite) & more