import { IconFont } from '@gpustack/core-ui'; import { useIntl } from '@umijs/max'; import { Button } from 'antd'; import React from 'react'; import styled from 'styled-components'; const Wrapper = styled.div` display: flex; align-items: center; flex-wrap: wrap; .title { margin-right: 8px; } `; const DocLink: React.FC<{ link: string; title?: React.ReactNode; }> = ({ link, title }) => { const intl = useIntl(); return ( {title && {title}} ); }; export default DocLink;