import { useState } from 'react' import { Upload, FileText } from 'lucide-react' export default function ContentInput({ onContentSubmit }) { const [content, setContent] = useState('') const handleSubmit = (e) => { e.preventDefault() if (content.trim()) { onContentSubmit(content) } } const handleFileUpload = (e) => { const file = e.target.files[0] if (file) { const reader = new FileReader() reader.onload = (event) => { setContent(event.target.result) } reader.readAsText(file) } } return (

Add Your Content

Upload a text file

- OR -