import { Fragment } from "react"; import { useRouter } from "next/router"; import { Dialog, Transition } from "@headlessui/react"; import { STRIPE_PRODUCT_STARTER } from "../../utilities/config"; import Button from "../buttons/Button"; import InputField from "../InputField"; const AddUserDialog = ({ isOpen, closeModal, submitModal, email, workspaceId, setEmail, currentPlan, orgName, }) => { const submit = () => { submitModal(email); }; const router = useRouter(); return (
Invite others to {orgName}

An invite is specific to an email address and expires after 1 day. For security reasons, you will need to separately add members to projects.

{currentPlan == STRIPE_PRODUCT_STARTER && (
)}
{/* Unleash Infisical's Full Power

You have exceeded the number of members in a free organization.

Upgrade now and get access to adding more members, as well as to other powerful enhancements.

*/}
); }; export default AddUserDialog;