import React, { Component } from "react"; import "./Contact-us.css"; import axios from 'axios' import { FieldFeedback, FieldFeedbacks, FormWithConstraints } from 'react-form-with-constraints'; import Alert from 'react-bootstrap/Alert'; class ContactUs extends Component { constructor(props) { super(props); this.state = { firstname: "", lastname: "", email: "", message: "", agent: "", house: "", alertBad: false, alertSucess: false, time: false }; } render() { return (
this.setState({ alertBad: false })} dismissible> Message could not send.

There are some errors in your contact form.

this.setState({ alertSucess: false })} dismissible> The message is successfully sent.

You contact form will be delivered to our support team.

Contact Us

this.form = form} id="contact-form" onSubmit={this.handleSubmit.bind(this)} method="POST" noValidate >