Practice using Formik and creating npm packages.
Nothinging to see here.
npm i builtformik
Pass callback redirectToOnSuccess
and url url
as to where app should redirect to on successful submit.
import { LoanForm } from 'builtformik';
<LoanForm redirectToOnSuccess={history} url="/" />