import { BookOpen } from 'lucide-react'
import { Button } from 'ui'
interface DocsButtonProps {
href: string
abbrev?: boolean
className?: string
topic?: string
/** Custom button text, e.g. to distinguish multiple docs buttons side by side. */
label?: string
}
export const DocsButton = ({ href, abbrev = true, className, topic, label }: DocsButtonProps) => {
return (
}
onClick={(e) => e.stopPropagation()}
>
{label ?? (abbrev ? 'Docs' : 'Documentation')}
)
}