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

const LoginDescription = () => {
  const { t } = useTranslation();
  return (
    <Description component="h1" variant="h6">
      {t("login.welcomeText")}
    </Description>
  );
};

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

export default LoginDescription;
