import React from 'react'; import * as Yup from 'yup'; import { Formik, Field, Form } from 'formik'; import { Modal } from 'react-bootstrap' const ExpressSchema = Yup.object().shape({ link : Yup.string().required('El enlace es requerido').url("Debes agregar un enlace vĂ¡lido, recurda iniciar con http o https ").min(5).max(190), }) export default function Express (props) { let { visible, onClose } = props return (

Agregar plaza express

{ props.setExpress(false) console.log('VALUES Express >> ',values) }} > { ({ errors, touched, validateField, validateForm, setFieldValue }) => (
{errors.link && touched.link &&
{errors.link}
}
)}
) }