"use client"; import { useFlags } from "@calcom/features/flags/hooks"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Button } from "@calcom/ui/components/button"; import { Icon } from "@calcom/ui/components/icon"; const GoogleIcon = () => ( ); type InviteOptionsProps = { onInviteViaEmail: () => void; onUploadCSV?: () => void; onCopyInviteLink?: () => void; onConnectGoogleWorkspace?: () => void; isSubmitting?: boolean; }; export const InviteOptions = ({ onInviteViaEmail, onUploadCSV, onCopyInviteLink, onConnectGoogleWorkspace, isSubmitting = false, }: InviteOptionsProps) => { const { t } = useLocale(); const flags = useFlags(); const googleWorkspaceEnabled = flags["google-workspace-directory"]; return (