Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created June 3, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/b2807295b8157a72ceef6f1f16341647 to your computer and use it in GitHub Desktop.
Save luandevpro/b2807295b8157a72ceef6f1f16341647 to your computer and use it in GitHub Desktop.
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