import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card.tsx'; import { CenteredContent } from '@/components/ui/CenteredContent.tsx'; import { Grid } from '@/components/ui/layout'; import { Heading, Text } from '@/components/ui/Typography.tsx'; type Props = { totalConnections: number; activeConnections: number; connectionRate: number; t: (key: string) => string; }; const ConnectionAnalyticsSection = ({ totalConnections, activeConnections, connectionRate, t, }: Props) => { return ( {t('analyticsDashboard.connections')} {totalConnections} {t('analyticsDashboard.totalConnections')} {activeConnections} {t('analyticsDashboard.activeConnections')} {Math.round(connectionRate * 100)}% {t('analyticsDashboard.connectionRate')} ); }; export default ConnectionAnalyticsSection;