import ExternalLink from './external-link'; /** * @module DocLink * `DocLink` components are used to render anchor links to relevant Vault documentation at vaultproject.io. * * @example * ```js Learn about KV v2 * ``` * * @param path="/"{String} - The path to documentation on vaultproject.io that the component should link to. * */ export default class DocLinkComponent extends ExternalLink { host = 'https://www.vaultproject.io'; get href() { return `${this.host}${this.args.path}`; } }