import { FormControl, FormErrorMessage, FormLabel, Input, } from "@chakra-ui/react"; import { Field } from "formik"; import { intl } from "src/locale"; import { validateString } from "src/modules/Validations"; function NameField() { return ( {({ field, form }: any) => ( {intl.formatMessage({ id: "name", })} {form.errors.name} )} ); } export { NameField };