UNPKG

react-figura

Version:

<div align="center"> <a href="https://github.com/mbb10324/figura/"> <img src="https://raw.githubusercontent.com/mbb10324/figura/master/docs/logo.png" alt="react-figura" width="60%" /> </a>

90 lines (89 loc) 2.32 kB
import { FormState } from "./FiguraTypes"; export declare function validateText(value: string): { hasError: boolean; error: string; }; export declare function validateEmail(value: string): { hasError: boolean; error: string; }; export declare function validatePassword(value: string): { hasError: boolean; error: string; }; export declare function validateConfirmPassword(value: string, formState: FormState): { hasError: boolean; error: string; }; export declare function validatePhone(value: string): { hasError: boolean; error: string; }; export declare function validateCheck(value: string): { hasError: boolean; error: string; }; export declare function validateRadio(value: string): { hasError: boolean; error: string; }; export declare function validateRange(value: string): { hasError: boolean; error: string; }; export declare function validateSelect(value: string): { hasError: boolean; error: string; }; export declare function validateTime(value: string): { hasError: boolean; error: string; }; export declare function validateTimeMilitary(value: string): { hasError: boolean; error: string; }; export declare function validateTextArea(value: string): { hasError: boolean; error: string; }; export declare function validateNumber(value: string): { hasError: boolean; error: string; }; export declare function validateDate(value: string): { hasError: boolean; error: string; }; export declare function validateDateLocal(value: string): { hasError: boolean; error: string; }; export declare function validateHidden(value: string): { hasError: boolean; error: string; }; export declare function validateColor(value: string): { hasError: boolean; error: string; }; export declare function validateWeek(value: string): { hasError: boolean; error: string; }; export declare function validateMonth(value: string): { hasError: boolean; error: string; }; export declare function validateFile(value: string): { hasError: boolean; error: string; }; export declare function validateUrl(value: string): { hasError: boolean; error: string; }; export declare function validateButtonGroup(value: string): { hasError: boolean; error: string; };