import { Trans } from "next-i18next"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import Button from "@calcom/ui/Button"; import { Dialog, DialogClose, DialogContent } from "@calcom/ui/Dialog"; import { Icon } from "@calcom/ui/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 .

); }