import React from 'react'
import Reward from '../../../Icons/Notifications/Reward'
import {
CommonNotificationProps,
RewardInProgressNotification as RewardInProgressNotificationType
} from '../../types'
import NotificationItem from '../../NotificationItem'
import { getBGColorByRarity } from '../../utils'
import NotificationItemNFTLink from '../../NotificationItemNFTLink'
import { config } from '../../../../config'
const i18N = {
en: {
description: (
reward: RewardInProgressNotificationType['metadata']
): React.ReactNode => (
<>
You've received a
for free. Try it out once it arrives!
>
),
title: 'A Gift is on its way!'
},
es: {
description: (
reward: RewardInProgressNotificationType['metadata']
): React.ReactNode => (
<>
Recibiste un
gratis. ¡Pruebalo cuando llegue!
>
),
title: '¡Un regalo está en camino!'
},
zh: {
description: (
reward: RewardInProgressNotificationType['metadata']
): React.ReactNode => (
<>
您已免费收到一个
。一旦到达,立即试试吧!
>
),
title: '一份礼物正在路上!'
}
}
/**
* @deprecated Should start using the same component migrated to UI2.
*/
export default function RewardInProgressNotification({
notification,
locale
}: CommonNotificationProps) {
return (
}}
timestamp={notification.timestamp}
isNew={!notification.read}
locale={locale}
>