'use client'; import React from 'react'; import { Label } from '@/components/ui/label'; import { Textarea } from '@/components/ui/textarea'; import { useTranslations } from '@/lib/i18n'; interface SummaryFormProps { value: string; onChange: (value: string) => void; } export const SummaryForm: React.FC = ({ value, onChange }) => { const { t } = useTranslations(); // Explicitly allow Enter key to create newlines const handleKeyDown = (e: React.KeyboardEvent) => { if (e.key === 'Enter') { e.stopPropagation(); } }; return (