19 lines
438 B
TypeScript
19 lines
438 B
TypeScript
|
import Link from "next/link";
|
||
|
|
||
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||
|
|
||
|
import { Tooltip } from "../tooltip";
|
||
|
import { Badge } from "./Badge";
|
||
|
|
||
|
export const UpgradeTeamsBadge = function UpgradeTeamsBadge() {
|
||
|
const { t } = useLocale();
|
||
|
|
||
|
return (
|
||
|
<Tooltip content={t("upgrade_to_enable_feature")}>
|
||
|
<Link href="/teams">
|
||
|
<Badge variant="gray">{t("upgrade")}</Badge>
|
||
|
</Link>
|
||
|
</Tooltip>
|
||
|
);
|
||
|
};
|