+ {/* Type Selection */}
+
+
+
+ {typeOptions.map((opt) => (
+
+ ))}
+
+
+
+ {/* Title */}
+
+
+ setTitle(e.target.value)}
+ placeholder="Brief summary of your feedback"
+ className="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-400 dark:bg-gray-700 dark:text-gray-100"
+ maxLength={100}
+ />
+
+
+ {/* Description */}
+
+
+
+
+ {/* Priority */}
+
+
+
+ {priorityOptions.map((opt) => (
+
+ ))}
+
+
+
+ {/* Attachments */}
+
+
+
+
+ {attachments.length > 0 && (
+
+ {attachments.map((file, index) => (
+
+
+ {file.name} ({formatFileSize(file.size)})
+
+
+
+ ))}
+
+ )}
+
+
+ {/* Error Display */}
+ {error && (
+
+ )}
+
+
+ {/* Footer */}
+