"use client"; import { motion } from "framer-motion"; import { Plus, Search, Sparkles, Wand2 } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { cn } from "@/lib/utils"; interface AgentPanelHeaderProps { title?: string; description?: string; searchValue: string; onSearchChange: (value: string) => void; searchPlaceholder?: string; onCreateClick?: () => void; createLabel?: string; className?: string; } export function AgentPanelHeader({ title = "风格化", description = "选择模式后,工作台会自动加载对应槽位和生成能力", searchValue, onSearchChange, searchPlaceholder = "搜索风格化...", onCreateClick, createLabel = "新建风格化", className, }: AgentPanelHeaderProps) { return (