UNPKG

apphouse

Version:

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

8 lines (7 loc) 293 B
/** * Helper function that checks if string is an email and it is valid * The default validation function for email fields if none is provided * @param str the email string to validate * @returns boolean true if valid email */ export declare function validateEmail(str: string): boolean;