import React from 'react';
import { Icon } from 'UI';
import { numberWithCommas } from 'App/utils';
import { useTranslation } from 'react-i18next';
const style = { content: '\f10d', fontSize: '100px', color: 'rgba(0,0,0,0.1)' };
function FunnelOverview({ funnel }) {
const { t } = useTranslation();
return (
{numberWithCommas(funnel.affectedUsers)} {t('users')}
{' '}
{t(' who had this experience show a conversion impact of')}
{funnel.conversionImpact}%
{' '}
{t('between')}
{funnel.firstStage}
{' '}
{t('and')}
{funnel.lastStage}
{' '}
{t('leading to an estimated')}
{numberWithCommas(funnel.totalDropDueToIssues)}
{' '}
{t('lost conversions.')}
);
}
export default FunnelOverview;