--- import Icon from '@ui/Icon.astro' import { getDocsUrl } from '@shared/lib/string-format' // Link from a demo page to its documentation page, e.g. . interface Props { /** Docs path, appended to the docs base URL */ path: string /** Link label */ text?: string class?: string } const { path, text = 'Docs', class: className }: Props = Astro.props --- {text}