parent
aa060a3dd1
commit
f485bf860e
2 changed files with 12 additions and 7 deletions
@ -0,0 +1,12 @@ |
||||
type FormikValues = import('formik').FormikValues; |
||||
|
||||
type UseFormik<Values extends FormikValues> = |
||||
typeof import('formik').useFormik<Values>; |
||||
|
||||
type Formik<Values extends FormikValues> = ReturnType<UseFormik<Values>>; |
||||
|
||||
type FormikChangeHandler<Values extends FormikValues> = |
||||
Formik<Values>['handleChange']; |
||||
|
||||
type FormikSubmitHandler<Values extends FormikValues> = |
||||
import('formik').FormikConfig<Values>['onSubmit']; |
Loading…
Reference in new issue