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", ]; export const AddVariablesDropdown = (props: IAddVariablesDropdown) => { const { t } = useLocale(); return ( + {t("variable")} {variables.map((variable) => ( ))} ); };