diff --git a/packages/p2p-v2/src/components/Modals/ShareAdsModal/ShareAdsSocials.tsx b/packages/p2p-v2/src/components/Modals/ShareAdsModal/ShareAdsSocials.tsx index 253d77682959..da8c6adee858 100644 --- a/packages/p2p-v2/src/components/Modals/ShareAdsModal/ShareAdsSocials.tsx +++ b/packages/p2p-v2/src/components/Modals/ShareAdsModal/ShareAdsSocials.tsx @@ -1,8 +1,11 @@ import React from 'react'; import { FacebookShareButton, TelegramShareButton, TwitterShareButton, WhatsappShareButton } from 'react-share'; -import { SocialFacebookBrandIcon, SocialGoogleBrandIcon, SocialTelegramBrandIcon } from '@deriv/quill-icons'; -import { Text } from '@deriv-com/ui'; -import XIcon from '../../../public/ic-stock-twitter.svg'; +import { + LabelPairedXTwitterLgIcon, + SocialFacebookBrandIcon, + SocialGoogleBrandIcon, + SocialTelegramBrandIcon, +} from '@deriv/quill-icons'; import WhatsappIcon from '../../../public/ic-whatsapp-filled.svg'; import './ShareAdsSocials.scss'; @@ -17,38 +20,31 @@ const getShareButtons = (advertUrl: string) => [ icon: , messagePropName: 'title', ShareButton: WhatsappShareButton, - size: 34, text: 'WhatsApp', }, { icon: , messagePropName: 'quote', ShareButton: FacebookShareButton, - size: 34, text: 'Facebook', }, { icon: , messagePropName: 'title', ShareButton: TelegramShareButton, - size: 34, text: 'Telegram', }, { - icon: , + icon: , messagePropName: 'title', ShareButton: TwitterShareButton, - size: 28, - smallIcon: true, - text: 'Twitter', + text: 'X', }, { href: `https://mail.google.com/mail/?view=cm&fs=1&body=${encodeURIComponent(advertUrl)}`, icon: , rel: 'noreferrer', ShareButton: 'a', - size: 28, - smallIcon: true, target: '_blank', text: 'Gmail', }, @@ -66,7 +62,6 @@ const ShareMyAdsSocials = ({ advertUrl, customMessage }: TShareMyAdsSocialsProps {...(rel && { rel: 'noreferrer' })} >
{icon}
- {text} ))} diff --git a/packages/p2p-v2/src/public/ic-stock-twitter.svg b/packages/p2p-v2/src/public/ic-stock-twitter.svg deleted file mode 100644 index 1733430eb45d..000000000000 --- a/packages/p2p-v2/src/public/ic-stock-twitter.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file