diff --git a/src/components/Main/Contato/FormContentField/FormContentField.tsx b/src/components/Main/Contato/FormContentField/FormContentField.tsx new file mode 100644 index 0000000..b68e255 --- /dev/null +++ b/src/components/Main/Contato/FormContentField/FormContentField.tsx @@ -0,0 +1,24 @@ +import styles from "../../Main.module.scss"; +import { Field, ErrorMessage } from "formik"; + +interface FormContentFieldProps { + title: string; + name: string; + placeholder: string; + type: string; +} + +const FormField = (props: FormContentFieldProps) => { + const { title, name, placeholder, type } = props; + return ( +
+ + + + + +
+ ); +}; + +export { FormField };