import { NezhaAPISafe } from "@/app/types/nezha-api" import { cn, formatBytes } from "@/lib/utils" import { useTranslations } from "next-intl" export function ServerCardPopoverCard({ className, title, content, children, }: { className?: string title: string content?: string children?: React.ReactNode }) { return (
{title}
{children ? children :
{content}
}
) } export default function ServerCardPopover({ host, status, }: { host: NezhaAPISafe["host"] status: NezhaAPISafe["status"] }) { const t = useTranslations("ServerCardPopover") return (
item).join(", ")}`} />
) }