UNPKG

@react-input-validator/rules

Version:

The validation rule objects used by the packages: `@react-input-validator/core`, `@react-input-validator/native` and `@react-input-validator/web`

19 lines 786 B
/** * https://github.com/atmulyana/react-input-validator */ //hello comment export type {IRule, Nullable} from './Rule'; export {default as ValidationRule} from './ValidationRule'; export {default as ValidationRuleAsync} from './ValidationRuleAsync'; export {BooleanValue, boolean} from './boolean'; export {CustomRule, rule} from './custom'; export {CustomRuleAsync, ruleAsync} from './customAsync'; export {Email, email} from './email'; export {HttpReq, httpReq} from './httpReq'; export {Integer, integer} from './integer'; export {Length, length, lengthMax} from './length'; export {Max, max} from './max'; export {Min, min} from './min'; export {Numeric, numeric} from './numeric'; export {Regex, regex} from './regex'; export {Required, required, alwaysValid} from './required';