"use client" import { IconCheck, IconCopy } from "@tabler/icons-react" import { useCopyToClipboard } from "@/hooks/use-copy-to-clipboard" function getPromptUrl(baseURL: string, url: string) { return `${baseURL}?q=${encodeURIComponent( `I'm looking at this shadcn/ui documentation: ${url}. Help me understand how to use it. Be ready to explain concepts, give examples, or help debug based on it. ` )}` } export function DocsPageLinks({ page, url }: { page: string; url: string }) { const { copyToClipboard, isCopied } = useCopyToClipboard() return (
) }