"use client"; import { Download, Play, Ungroup, Share2, Grid3X3, ScanLine, } from "lucide-react"; export function CanvasGroupToolbar({ title, color, status, busy, storyboard, canStoryboard, onRename, onColor, onLayout, onRun, onUngroup, onSave, onDownload, onStoryboard, onCancel, }: { title: string; color: string; status: string; busy: boolean; storyboard: boolean; canStoryboard: boolean; onRename: (s: string) => void; onColor: (s: string) => void; onLayout: (s: "grid" | "horizontal" | "vertical") => void; onRun: () => void; onUngroup: () => void; onSave: () => void; onDownload: () => void; onStoryboard: () => void; onCancel: () => void; }) { return (
e.stopPropagation()} >
onColor(e.target.value)} className="h-7 w-7 cursor-pointer rounded-full border-0 bg-transparent" />
onRename(e.target.value)} maxLength={120} className="w-48 border-b border-white/10 bg-transparent py-1" /> {status || "Shift 点击多选 · ⌘/Ctrl+G 编组"} {busy && }
); }