import React, { useState } from "react"; import { Plus, Mic, ArrowUp, ChevronDown, BarChart3, Search, FileText } from "lucide-react"; const QUICK_ACTIONS = [ { icon: BarChart3, label: "Analyze my week" }, { icon: FileText, label: "Draft a briefing" }, { icon: Search, label: "Look something up" }, ]; export default function KrowCommandAsk({ onSubmit, onQuickAction }) { const [input, setInput] = useState(""); const handleSubmit = (e) => { e?.preventDefault(); const text = input.trim(); if (!text) return; onSubmit(text); setInput(""); }; return (

Ask KROW

setInput(e.target.value)} placeholder="Ask KROW" className="flex-1 bg-transparent text-white placeholder:text-[#8E8E8E] text-sm outline-none min-w-0" />
{QUICK_ACTIONS.map((action, i) => ( ))}
); }