@sishuguojixuefu/react-native-form
Version:
74 lines (73 loc) • 1.21 kB
TypeScript
declare const _default: {
/**
* 邮编
*/
zip: RegExp;
/**
* 邮箱
*/
email: RegExp;
/**
* 中文字符
*/
zh: RegExp;
/**
* 中文名正则
*/
zhName: RegExp;
/**
* 网址
*/
url: RegExp;
/**
* 电话号正则,包含手机号、固话号、400电话
*/
phone: RegExp;
/**
* 手机号正则
*/
mobilePhone: RegExp;
/**
* 固话正则,包含400电话
*/
telephone: RegExp;
/**
* 身份证正则
*/
idCard: RegExp;
/**
* 日期
*/
date: RegExp;
/**
* 货币字符
*/
money: RegExp;
/**
* 数字
*/
number: RegExp;
/**
* 整型数字
*/
integer: RegExp;
/**
* 浮点数
*/
floating: RegExp;
/**
* 2的倍数
*/
twoTimes: RegExp;
/**
* 3的倍数
*/
threeTimes: RegExp;
/**
* 4的倍数
*/
fourTimes: (rule: any, value: any, callback: any) => void;
fiveTimes: (rule: any, value: any, callback: any) => void;
sixTimes: (rule: any, value: any, callback: any) => void;
};
export default _default;