#Help me sort out the type of a custom component which takes in something from Formik
6 messages · Page 1 of 1 (latest)
I am building
I want to give FormFieldsInterface which is for example {username: string, password: string} to FormInputProps.
To make the type of the formik variable
I want to give for instance {username: string, password: string} as FormFieldsInterface to FormInputProps.
I would like to be able to access formik.values.fieldName, for instance