forked from react-component/async-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
36 lines (35 loc) · 688 Bytes
/
index.ts
File metadata and controls
36 lines (35 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import any from './any';
import array from './array';
import boolean from './boolean';
import date from './date';
import enumValidator from './enum';
import float from './float';
import integer from './integer';
import method from './method';
import number from './number';
import object from './object';
import pattern from './pattern';
import regexp from './regexp';
import required from './required';
import string from './string';
import type from './type';
export default {
string,
method,
number,
boolean,
regexp,
integer,
float,
array,
object,
enum: enumValidator,
pattern,
date,
url: type,
hex: type,
email: type,
tel: type,
required,
any,
};