forked from bamlab/react-native-formik
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
50 lines (47 loc) · 1.52 KB
/
index.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { compose } from "recompose";
import handleTextInput from "./src/handleTextInput";
import setFormikInitialValue from "./src/setFormikInitialValue";
import withError from "./src/withError";
import withErrorIfNeeded from "./src/withErrorIfNeeded";
import withFocus from "./src/withFocus";
import withFocusOnFirstError, {
focusOnFirstError
} from "./src/withFocusOnFirstError";
import withFormik from "./src/withFormik";
import withFormikControl from "./src/withFormikControl";
import withInputTypeProps from "./src/withInputTypeProps";
import withTouched from "./src/withTouched";
import withPickerValues from "./src/withPickerValues";
import KeyboardModal from "./src/withPickerValues/KeyboardModal";
import makeReactNativeField from "./src/makeReactNativeField";
import AutoFocusContext from "./src/contexts/AutoFocusContext";
import withNextInputAutoFocusForm from "./src/withNextInputAutoFocusForm";
import withNextInputAutoFocusInput from "./src/withNextInputAutoFocusInput";
const makeInputsGreatAgain = compose(
withInputTypeProps,
setFormikInitialValue,
withError,
withTouched,
makeReactNativeField
);
export default makeInputsGreatAgain;
export {
handleTextInput,
makeInputsGreatAgain,
makeReactNativeField,
setFormikInitialValue,
withError,
withErrorIfNeeded,
withFocus,
withFormik,
withFormikControl,
withInputTypeProps,
withTouched,
withNextInputAutoFocusForm,
withNextInputAutoFocusInput,
withPickerValues,
KeyboardModal,
AutoFocusContext,
withFocusOnFirstError,
focusOnFirstError
};