import { CheckCircle2 } from "lucide-react" interface BuilderHeaderProps { preselectedPlugin?: { name: string description: string imageUrl?: string featured?: boolean includes?: string[] } | null } export function BuilderHeader({ preselectedPlugin }: BuilderHeaderProps) { return ( <>
{preselectedPlugin ? "Plugin build" : "Quick build"}
{preselectedPlugin ? `Select a compatible Meshtastic target and configure your build for ${preselectedPlugin.name}. We'll send you to the build status page as soon as it starts.` : "Choose your Meshtastic target, adjust optional modules, and queue a new build instantly. We'll send you to the build status page as soon as it starts."}
{preselectedPlugin.description}
{preselectedPlugin.includes && preselectedPlugin.includes.length > 0 && (Compatible with: {preselectedPlugin.includes.join(", ")}
)}