import React from 'react'
import { Link } from 'react-router'
import { FileText, ArrowUpRight } from 'lucide-react'
import { useHelpStore } from '../../store/helpStore'
/**
* A row that leads into the full Help & Docs page. The panel closes on the
* way: the docs page has its own navigation and the two side by side would
* fight for the width.
*/
export default function HelpDocLink({ to, title, subtitle }: { to: string; title: string; subtitle?: string }): React.ReactElement {
const closeHelp = useHelpStore(s => s.closeHelp)
return (
{title}
{subtitle && {subtitle}}
)
}