Created
June 3, 2019 15:12
-
-
Save luandevpro/b2807295b8157a72ceef6f1f16341647 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import validate from './src/components/validate'; | |
export default function App() { | |
... | |
return ( | |
<View> | |
<Formik | |
initialValues={{ ...value }} | |
onSubmit={handleSubmit} | |
validationSchema={validate} | |
> | |
{props => ( | |
<View> | |
<FormField {...props} /> | |
</View> | |
)} | |
</Formik> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment