/** * @deprecated file * All new changes should be made to the V2 file in * `/packages/features/ee/workflows/components/v2/AddVariablesDropdown.tsx` */ import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Dropdown, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@calcom/ui/Dropdown"; interface IAddVariablesDropdown { addVariable: (isEmailSubject: boolean, variable: string) => void; disabled: boolean; isEmailSubject: boolean; } const variables = [ "event_name", "organizer_name", "attendee_name", "event_date", "event_time", "location", "additional_notes", ]; /** * @deprecated file * All new changes should be made to the V2 file in * `/packages/features/ee/workflows/components/v2/AddVariablesDropdown.tsx` */ export const AddVariablesDropdown = (props: IAddVariablesDropdown) => { const { t } = useLocale(); return ( + {t("variable")} {variables.map((variable) => ( ))} ); };