import { useState } from 'react'; import { Play, Loader2, Database } from 'lucide-react'; export default function InputPanel({ onAnalyze, isLoading, disabled }) { const [text, setText] = useState(''); const handleSubmit = (e) => { e.preventDefault(); if (text.trim() && !isLoading && !disabled) { onAnalyze(text.trim()); } }; const samplePayloads = [ { label: 'Positive Target', text: "The integration was seamless and the performance improvements were immediately noticeable. Highly recommended architecture." }, { label: 'Negative Target', text: "Significant latency regressions observed after the recent deployment. The system is unstable and documentation is outdated." }, { label: 'Mixed Edge-case', text: "While the initial setup was straightforward, we're experiencing intermittent timeout issues during peak loads. Promising but needs stabilization." } ]; return (

Inference Payload

{samplePayloads.map((payload, idx) => ( ))}