import React from 'react' import Reward from '../../../Icons/Notifications/Reward' import { CommonNotificationProps, RewardDelayedNotification as RewardDelayedNotificationType } from '../../types' import NotificationItem from '../../NotificationItem' import { getBGColorByRarity } from '../../utils' import NotificationItemNFTLink from '../../NotificationItemNFTLink' import { config } from '../../../../config' const i18N = { en: { description: ( reward: RewardDelayedNotificationType['metadata'] ): React.ReactNode => ( <> We're working on delivering your as soon as possible. ), title: 'Your Gift is Delayed' }, es: { description: ( reward: RewardDelayedNotificationType['metadata'] ): React.ReactNode => ( <> Estamos trabajando en entregar tu lo antes posible. ), title: 'Tu regalo está retrasado' }, zh: { description: ( reward: RewardDelayedNotificationType['metadata'] ): React.ReactNode => ( <> 我们正在尽快交付您的 。 ), title: '您的礼物延迟了' } } /** * @deprecated Should start using the same component migrated to UI2. */ export default function RewardDelayedNotification({ notification, locale }: CommonNotificationProps) { return ( }} timestamp={notification.timestamp} isNew={!notification.read} locale={locale} >

{i18N[locale].title}

{i18N[locale].description(notification.metadata)}

) }