mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
19 lines
435 B
TypeScript
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>
|
|
)
|
|
}
|