Zaker-Website/src/components/Contact/Right.tsx
2024-09-26 11:38:11 +03:00

32 lines
962 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Form, Formik } from 'formik'
import React from 'react'
import InputField from '../Field/InputField'
import TextAreaField from '../Field/TextAreaField'
const Right = () => {
const handleSubmit = ()=>{
}
return (
<div className='Right'>
<h1>تواصل معنا بسرعة</h1>
<Formik initialValues={handleSubmit} onSubmit={handleSubmit} >
<Form>
<div className='Forms'>
<InputField name='name' placeholder='أدخل الاسم' />
<InputField name='email' placeholder='أدخل البريد الإلكتروني' />
<InputField name='number' placeholder='هاتفك' />
<InputField name='company' placeholder='شركتك' />
<TextAreaField name='message' placeholder='رسالة' />
</div>
<button className='scale' >
ارسل رسالة
</button>
</Form>
</Formik>
</div>
)
}
export default Right