import { ReactNode } from "react"; import { Copy, CheckCircle } from "lucide-react"; import { Button } from "../DesignSystem/Button"; // import { highlightCode } from "./commandUtils"; interface CommandBlockProps { command: string; title: string; icon?: ReactNode; borderColor?: string; headerButtons?: ReactNode; statusBar?: ReactNode; className?: string; copied: boolean; onCopy?: () => void; children?: ReactNode; } export function CommandBlock({ command, title, icon, borderColor = "border-ctp-surface1", headerButtons, statusBar, className = "", copied, onCopy, children, }: CommandBlockProps) { // const highlightedCode = highlightCode(command, "bash"); return (
{command}