nezha_dash/app/(main)/ClientComponents/GlobalInfo.tsx
2024-12-13 15:09:12 +08:00

19 lines
435 B
TypeScript

"use client"
import { useTranslations } from "next-intl"
type GlobalInfoProps = {
countries: string[]
}
export default function GlobalInfo({ countries }: GlobalInfoProps) {
const t = useTranslations("Global")
return (
<section className="flex items-center justify-between">
<p className="text-sm font-medium opacity-40">
{t("Distributions")} {countries.length} {t("Regions")}
</p>
</section>
)
}