import React from 'react'
import NotificationItem from '../../NotificationItem'
import {
GovernanceVotingEndedVoterNotification as GovernanceVotingEndedVoterNotificationType,
CommonNotificationProps
} from '../../types'
import VotingEndedIcon from '../../../Icons/Notifications/VotingEndedIcon'
const i18N = {
en: {
description: (link: string): React.ReactNode => (
<>
Discover the results
{' '}
of the proposal you participated in as a voter. Your input matters!
>
),
title: 'Voting ended on a proposal you voted on'
},
es: {
description: (link: string): React.ReactNode => (
<>
Descubre los resultados
{' '}
de la propuesta en la que participaste como votante. Tu opinion es
importante!
>
),
title: 'La votacion ha finalizado en una propuesta que votaste'
},
zh: {
description: (link: string): React.ReactNode => (
<>
了解您作为选民参与的提案的结果
. 您的意见很重要!
>
),
title: '您已投票的提案投票结束'
}
}
/**
* @deprecated Should start using the same component migrated to UI2.
*/
const GovernanceVotingEndedVoterNotification = ({
notification,
locale
}: CommonNotificationProps) => (
}}
timestamp={notification.timestamp}
isNew={!notification.read}
locale={locale}
>