Open HamidReza63 opened 4 years ago
Yes, you can use Formik with react native.
withFormik
should also work with react-native
. How are you trying to call it?
An example of how to call it would be:
withFormik(config)(Form)
or with redux
connect(mapStateToProps, mapDispatchToProps)(withFormik(config)(Form))
we are trying with
with redux connect(mapStateToProps, mapDispatchToProps)(withFormik(config)(Form))
❓Question
Can I use withFormic in react native? I tried to use formicEnhancer Example and i set onSubmit={handleSubmit} But it return Can't find variable handleSubmit