@try-at-software/input-elements
Version:
A package providing different input elements that are extensible and easily configurable for your custom needs.
5 lines (4 loc) • 338 B
TypeScript
import { FormText } from '../../Components';
import { ValidationRule } from '../../IValueInputElement';
export declare function restrictMinimumLength(minLength: number, errorMessage?: FormText): ValidationRule<string>;
export declare function restrictMaximumLength(maxLength: number, errorMessage?: FormText): ValidationRule<string>;