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.

MyPosts.js 740B

1234567891011121314151617181920212223242526272829
  1. import React from "react";
  2. import { PostsImgSuit } from "./MyPosts.styled";
  3. const dummyData2 = [
  4. {
  5. alt: "Remy Sharp",
  6. src: "/static/images/avatar/1.jpg",
  7. title: "Gitara",
  8. text: (<React.Fragment><PostsImgSuit/> Player.rs</React.Fragment>)
  9. },
  10. {
  11. alt: "Remy Sharp",
  12. src: "/static/images/avatar/1.jpg",
  13. title: "Gitara",
  14. text: (<React.Fragment><PostsImgSuit/> Player.rs</React.Fragment>)
  15. }
  16. ]
  17. import HeaderPopover from "../HeaderPopover/HeaderPopover";
  18. import { useTranslation } from "react-i18next";
  19. export const MyPosts = () => {
  20. const {t} = useTranslation();
  21. return (
  22. <HeaderPopover
  23. title={t("header.myOffers")}
  24. items={dummyData2}
  25. buttonText={t("header.checkEverything")}/>
  26. );
  27. };