I created a react formik form that consists of several components. I need pass down the useFormik object to the components of the form. What is the right type for formik?
Parent form
const formik = useFormik({ ...
Child component
interface IAddressBoxProps {
skip: () => void
formik: any
}
const AddressBox: React.FC<IAddressBoxProps> = (props: IAddressBoxProps) => {
const { skip, formik } = props
...