mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
27 lines
485 B
TypeScript
27 lines
485 B
TypeScript
import React from 'react';
|
|
|
|
import { Link } from 'toolkit/chakra/link';
|
|
import IconSvg from 'ui/shared/IconSvg';
|
|
|
|
interface Props {
|
|
href: string;
|
|
}
|
|
|
|
const DocsLink = ({ href }: Props) => {
|
|
return (
|
|
<Link
|
|
href={ href }
|
|
external
|
|
noIcon
|
|
display="inline-flex"
|
|
alignItems="center"
|
|
columnGap={ 1 }
|
|
>
|
|
<IconSvg name="docs" boxSize={ 5 } color="icon.primary"/>
|
|
<span>Documentation</span>
|
|
</Link>
|
|
);
|
|
};
|
|
|
|
export default DocsLink;
|