import { cn } from "@/lib/utils"; import { useTranslation } from "react-i18next"; interface VpnStatsProps { received: string; sent: string; className?: string; } export function VpnStats({ received, sent, className }: VpnStatsProps) { const { t } = useTranslation(); return (
{/* Теперь контент внутри растянется равномерно */}
{t("rx")} {received}
{t("tx")} {sent}
); }