I was creating a form by means of Formik(useFormik), Yup. But, first, I have created custom reusable component called FormInput which looks like:
import React