import React from "react";
import PropTypes from "prop-types";
import {
  AltTitle,
  LogoImage,
  MainTitle,
  ThirdStepCreateReviewContainer,
} from "./ThirdStepCreateReview.styled";
import { useTranslation } from "react-i18next";

const ThirdStepCreateReview = () => {
  const { t } = useTranslation();
  return (
    <ThirdStepCreateReviewContainer>
      <LogoImage />
      <MainTitle>{t("reviews.finishedReviewTitle")}</MainTitle>
      <AltTitle>{t("reviews.finishedReviewAltTitle")}</AltTitle>
    </ThirdStepCreateReviewContainer>
  );
};

ThirdStepCreateReview.propTypes = {
  children: PropTypes.node,
};

export default ThirdStepCreateReview;
