"use client"; import React from "react"; import { Search } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; export default function SearchQueryBox({ qDraft, onQDraftChange, onSubmit, currentQuery, isSubmitting, canSearch, }) { return ( // Important for flex layouts: // - w-full ensures the box fills its container width. // - min-w-0 allows the input row to shrink without overflow.