import React from "react";
import PropTypes from "prop-types";
import { useTranslation } from "react-i18next";
import { LoginTitle as Title } from "./LoginTitle.styled";

const LoginTitle = () => {
  const { t } = useTranslation();
  return (
    <Title component="h1" variant="h5">
      {t("login.logInTitle")}
    </Title>
  );
};

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

export default LoginTitle;
