UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

3 lines (2 loc) 222 B
import { FormFieldType, ValidationFunction } from '../Field.interface'; export declare function getValidationFun<T>(type: FormFieldType, validation?: (value?: T) => boolean): ValidationFunction | ((value?: T) => boolean);