import { Trans } from "next-i18next"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import Button from "./Button"; import { Dialog, DialogClose, DialogContent } from "./Dialog"; import { Icon } from "./Icon"; export function UpgradeToProDialog({ modalOpen, setModalOpen, children, }: { modalOpen: boolean; setModalOpen: (open: boolean) => void; children: React.ReactNode; }) { const { t } = useLocale(); return (

{children}

You can upgrade here .

); }