import { ExternalLink, MoreHorizontal, Edit2, UserX, Lock } from "lucide-react"; import { classNames } from "@calcom/lib"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { ButtonGroup, Tooltip, Button, Dropdown, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownItem, DropdownMenuSeparator, } from "@calcom/ui"; import { useOrgBrandingValues } from "../../../ee/organizations/hooks"; import type { Action } from "./UserListTable"; import type { User } from "./UserListTable"; export function TableActions({ user, permissionsForUser, dispatch, domain, }: { user: User; dispatch: React.Dispatch; domain: string; permissionsForUser: { canEdit: boolean; canRemove: boolean; canImpersonate: boolean; }; }) { const { t } = useLocale(); const orgBranding = useOrgBrandingValues(); const usersProfileUrl = domain + "/" + user.username; return ( <>