"use client" import { useState, type ReactNode } from "react" import { Check, Copy } from "lucide-react" import { toast } from "sonner" import { cn } from "@lib/utils" import { dmSans125ClassName } from "@/lib/fonts" import type { InstallStep } from "@/lib/plugin-catalog" /** Recessed "inside-out" inset shadow used across Supermemory surfaces. */ export const INSET = "shadow-[inset_0_2px_4px_rgba(0,0,0,0.3),inset_0_1px_2px_rgba(0,0,0,0.1)]" export function PillButton({ children, onClick, disabled, type = "button", }: { children: ReactNode onClick?: () => void disabled?: boolean type?: "button" | "submit" }) { return ( ) } export function CopyButton({ text, label }: { text: string; label?: string }) { const [copied, setCopied] = useState(false) return ( ) } export function CodeBlock({ code, copyLabel = "Command", secret, }: { code: string copyLabel?: string secret?: boolean }) { return (
				{code}
			
) } export function InstallSteps({ steps, apiKey, }: { steps: InstallStep[] apiKey?: string }) { return (
    {steps.map((step, i) => (
  1. {i + 1} {i < steps.length - 1 && ( )}

    {step.title}

    {step.optional && ( Optional )}
    {step.description && (

    {step.description}

    )}
    {step.code && ( )}
  2. ))}
) }