You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MobileOfferDetails.js 616B

123456789101112131415161718192021222324
  1. import React from "react";
  2. import PropTypes from "prop-types";
  3. import { useTranslation } from "react-i18next";
  4. import {
  5. OfferCardContainerMobile,
  6. OfferTextMobile,
  7. OfferTitleMobile,
  8. } from "./MobileOfferDetails.styled";
  9. const MobileOfferDetails = (props) => {
  10. const { t } = useTranslation();
  11. return (
  12. <OfferCardContainerMobile>
  13. <OfferTextMobile>{t("messages.cardProduct")}</OfferTextMobile>
  14. <OfferTitleMobile>{props.chat?.offer?.name}</OfferTitleMobile>
  15. </OfferCardContainerMobile>
  16. );
  17. };
  18. MobileOfferDetails.propTypes = {
  19. chat: PropTypes.any,
  20. };
  21. export default MobileOfferDetails;