import { motion } from "motion/react" import { LabeledInput } from "@ui/input/labeled-input" import { Button } from "@ui/components/button" interface InputStepProps { name: string setName: (name: string) => void handleSubmit: () => void isSubmitting: boolean } export function InputStep({ name, setName, handleSubmit, isSubmitting, }: InputStepProps) { return (

What should I call you?

{ if (e.key === "Enter") { handleSubmit() } }, className: "!text-white placeholder:!text-[#525966] !h-[40px] pl-4", }} onChange={(e) => setName((e.target as HTMLInputElement).value)} style={{ background: "linear-gradient(0deg, rgba(91, 126, 245, 0.04) 0%, rgba(91, 126, 245, 0.04) 100%)", }} />
) }