import React from 'react'; import { useTranslation } from 'react-i18next'; interface Props { filter: any; isHorizontal?: boolean; } function FunnelStepText(props: Props) { const { t } = useTranslation(); const { filter } = props; const total = filter.value.length; const additionalStyle = props.isHorizontal ? { whiteSpace: 'nowrap', maxWidth: 210, textOverflow: 'ellipsis', overflow: 'hidden', } : {}; return (