import Link from "next/link"; import { useTranslations } from "next-intl"; import { Badge } from "@/components/ui/badge"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; export default function ApiReference({ badge, target, link, }: { badge: string; target: string; link: string; }) { const t = useTranslations("Components"); return ( {t("API Reference")} {badge}
WR.DO{" "} {t("provide a api for {target}", { target: t(target) })}.{" "} {t("View the usage tutorial")}{" "} {t("document")} .
); }