"use client"; import { motion } from "framer-motion"; import { cn } from "../../utils/cn"; import { Reveal } from "../Reveal"; import { ProjectType } from "./types"; import { Mail, MessageSquare, ArrowLeft, Send, Phone, User as UserIcon, Calendar, Layers, } from "lucide-react"; interface DirectMessageFlowProps { name: string; setName: (val: string) => void; email: string; setEmail: (val: string) => void; phone: string; setPhone: (val: string) => void; role: string; setRole: (val: string) => void; company: string; setCompany: (val: string) => void; projectType: ProjectType; setProjectType: (val: ProjectType) => void; deadline: string; setDeadline: (val: string) => void; message: string; setMessage: (val: string) => void; onBack: () => void; onSubmit: () => void; isSubmitting: boolean; error?: string | null; } export const DirectMessageFlow = ({ name, setName, email, setEmail, phone, setPhone, role, setRole, company, setCompany, projectType, setProjectType, deadline, setDeadline, message, setMessage, onBack, onSubmit, isSubmitting, error, }: DirectMessageFlowProps) => { return (
{error}
Senden Sie mir eine Nachricht und ich melde mich zeitnah zurück.