quintodrome/ui/src/common/DocLink.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
206 B
JavaScript
Raw Normal View History

import React from 'react'
import { docsUrl } from '../utils'
export const DocLink = ({ path, children }) => (
<a href={docsUrl(path)} target={'_blank'} rel="noopener noreferrer">
{children}
</a>
)