import React from 'react'; import { Zap, X } from 'lucide-react'; export default function OtpModal({ otpPrompt, otpInput, setOtpInput, onSubmit, onCancel }) { return (
Enter the verification code to save it to your session context.
Field: {otpPrompt.otpFieldName} setOtpInput(e.target.value)} onKeyDown={e => { if (e.key === 'Enter') onSubmit(); }} style={{ marginBottom: 12 }} />